From b14e87591c678ec58285de7570a4c202fd36a52a Mon Sep 17 00:00:00 2001 From: Tony Stork Date: Mon, 8 Jan 2024 14:58:57 -0500 Subject: [PATCH] Run stairwell LED strip script when strip is turned on #186 --- automations.yaml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/automations.yaml b/automations.yaml index 9ba8ba5..52690d2 100644 --- a/automations.yaml +++ b/automations.yaml @@ -4532,3 +4532,22 @@ value_template: '{{ is_state(sensor,''off'') }}' mode: parallel max: 5 +- id: '1704743623656' + alias: Stairwell LED Strip + description: Run stairwell LED strip script automatically when the strip is turned + on + trigger: + - platform: state + entity_id: + - light.stairwell_led_strip + from: 'off' + to: 'on' + id: light-on + alias: When stairwell LED strip turns on + condition: [] + action: + - service: script.stairwell_led_strip + metadata: {} + data: {} + alias: Run stairwell LED strip script + mode: restart