@DZMM wrote:
I’m embarrassed to ask this, but I can’t get this to work. I have a timer
timer.office_lights
and I want the lights to turn off when the timer finishes. When the lights go on the timer starts, but when the timer finishes nothing happens.Help please (set to 10s for testing):
Thanks in advance for any help
timer: office_lights: duration: '00:00:10' - alias: Lights - Office Lights Timer trigger: platform: state entity_id: light.office to: 'on' action: - service: timer.start data: entity_id: timer.office_lights - alias: Lights - Office Lights Off trigger: platform: event event_type: timer.finished event_data: entity_id: timer.office_lights action: service: light.turn_off entity_id: light.office
Posts: 10
Participants: 4