mirror of
https://github.com/steku/ha_cercadian_alarm.git
synced 2026-02-04 19:12:20 +00:00
conditions and advanced target
This commit is contained in:
@ -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:
|
||||
|
||||
Reference in New Issue
Block a user