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