mirror of
https://github.com/steku/ha_cercadian_alarm.git
synced 2025-12-19 04:49:33 +00:00
Update parabolic_alarm_script.yaml
This commit is contained in:
@ -125,12 +125,14 @@ sequence:
|
||||
- condition: and
|
||||
conditions:
|
||||
- condition: template
|
||||
value_template: "{{ light_timeout != 0 }}"
|
||||
value_template: "{{ light_timeout | int != 0 }}"
|
||||
- condition: template
|
||||
value_template: "{{ is_state(target_light, 'on') }}"
|
||||
- condition: template
|
||||
value_template: "{{ not is_input('keep_light_on') }}"
|
||||
then:
|
||||
- delay:
|
||||
minutes: "{{ light_timeout }}"
|
||||
minutes: "{{ light_timeout | int }}"
|
||||
- data: {}
|
||||
target:
|
||||
entity_id: "{{ target_light }}"
|
||||
|
||||
Reference in New Issue
Block a user