this post was submitted on 12 May 2026
57 points (95.2% liked)
homeassistant
19491 readers
2 users here now
Home Assistant is open source home automation that puts local control and privacy first.
Powered by a worldwide community of tinkerers and DIY enthusiasts.
Home Assistant can be self-installed on ProxMox, Raspberry Pi, or even purchased pre-installed: Home Assistant: Installation
Discussion of Home-Assistant adjacent topics is absolutely fine, within reason.
If you're not sure, DM @GreatAlbatross@feddit.uk
founded 3 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
I set it up as just a sentence automation, not as a separate script being fired where that'd have caused an error. I've not found a means of forcing validation like that in sentence automations, only in custom sentences/intents (never quite gotten a handle on those)
Template Conditions in that case. Ensure it falls between a specific range when ingested as an intent, and reject if not within that range. Should help you avoid future issues like this.
Yep. In the fix I linked I set it up to default to a word if it fails the template instead, so it'll then check for a match to that word ("fail") and if so it just falls back to 5 minutes and will tell me as much.
Going to be a hell of a lot better about that in the future though. Was definitely a rookie mistake on my part to assume that just because it'd worked every time I'd tested it, used it, and with timers and all thus far that it would always work 100% of the time. Why assume when you can validate? I do in code I write... Guess I don't think about it in the same way with HA as much, oops.
👍