I've got an automation which is using a Timer helper. I'd like to have it triggered specifically by the timer finishing (i.e. countdown reaching 0), but not be triggered if the timer is cancelled. At the moment I'm using a state trigger (from active to idle), but I can't figure out how to tell apart the timer finishing vs. being cancelled. Is there a better trigger to use, or some condition available for this?
#Is there a trigger specifically for a timer finishing?
1 messages · Page 1 of 1 (latest)
Have you checked the timer docs?
hmm. so I need to use a manual event trigger for this? Kinda unfortunate how that's really not integrated into the UI; no selectors for entity or event type available :(
how do I match against the correct entity id with that? just entity_id: timer.whatever in the event data field?
- trigger: event
event_type: timer.finished
event_data:
entity_id: timer.test
Just like that, as shown in the examples
Alright, i think i've got it. This is unfortunately not that easy to figure out when using the graphical automation editor rather than yaml.
The graphical editor also has a YAML view