I have a simple timer for the garage overhead light. Several things can start it, and when it starts I want a light to turn on. When the time runs out, the light shuts off - very simple.
I have an automation that starts the timer, and it works fine using timer.start. The timer actually starts and ends as usual.
My problem is that there does not seem to be an event thrown for the started and finished events.What I see in the “logbook” is that the state changes from inactive to active, and vice versa.
Two questions:
- Where should I go to see the event stream for debugging purposes? Is that the “logbook” ?? In th elog book I can see the trail of changes that lead to the timer starting.
- Is there a reason that this automation does not work?
trigger:
- platform: event
event_type: timer.started
event_data:
entity_id: timer.GarageTimer
- platform: event
event_type: timer.restarted
event_data:
entity_id: timer.garagetimer
condition: []
action:
- type: turn_on
device_id: 39efb22d76062840148abd35313d51f8
entity_id: switch.in_wall_paddle_switch_500s
domain: switch
- type: turn_on
device_id: 078fcbdb4aed6bd8c4fb118eb9fee76b
entity_id: switch.plug_in_outdoor_switch_300s
domain: switch
mode: single
If I change it to look for state changes from idle to active it works. TIA!