Run stairwell LED strip script when strip is turned on #186

This commit is contained in:
2024-01-08 14:58:57 -05:00
parent 76cacbe336
commit b14e87591c

View File

@ -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