Fix incorrect template condition #168
This commit is contained in:
@ -877,7 +877,7 @@ script:
|
|||||||
- action: "SKIP_AWAY"
|
- action: "SKIP_AWAY"
|
||||||
title: Skip Away Mode
|
title: Skip Away Mode
|
||||||
icon: mdi:debug-step-over
|
icon: mdi:debug-step-over
|
||||||
- wait_template: "{{ is_state('input_boolean.away_mode_skipped','on') or is_state('binary_sensor.parents_home','off') }}"
|
- wait_template: "{{ is_state('input_boolean.away_mode_skipped','on') or is_state('binary_sensor.parents_home','on') }}"
|
||||||
continue_on_timeout: true
|
continue_on_timeout: true
|
||||||
timeout:
|
timeout:
|
||||||
minutes: 1
|
minutes: 1
|
||||||
@ -888,7 +888,8 @@ script:
|
|||||||
message: "clear_notification"
|
message: "clear_notification"
|
||||||
tag: skip-away
|
tag: skip-away
|
||||||
- if:
|
- if:
|
||||||
- "{{ not wait.completed }}"
|
- condition: template
|
||||||
|
value_template: "{{ not wait.completed }}"
|
||||||
then:
|
then:
|
||||||
- service: light.turn_off
|
- service: light.turn_off
|
||||||
target:
|
target:
|
||||||
|
Reference in New Issue
Block a user