conditions and advanced target

This commit is contained in:
Unknown
2025-11-10 10:29:44 -05:00
parent 1a63451f87
commit c0137387b3

View File

@ -206,9 +206,8 @@ action:
light_timeout: 0
target_light: !input target_light
- if:
- condition: state
state: "on"
entity_id: !input target_light
- condition: template
value_template: "{{ expand(lights.entity_id) | selectattr('state', '==', 'on')
then:
- action: !input alarm_script
data: