Fix incorrect template condition #168
This commit is contained in:
@ -877,7 +877,7 @@ script:
|
||||
- action: "SKIP_AWAY"
|
||||
title: Skip Away Mode
|
||||
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
|
||||
timeout:
|
||||
minutes: 1
|
||||
@ -888,7 +888,8 @@ script:
|
||||
message: "clear_notification"
|
||||
tag: skip-away
|
||||
- if:
|
||||
- "{{ not wait.completed }}"
|
||||
- condition: template
|
||||
value_template: "{{ not wait.completed }}"
|
||||
then:
|
||||
- service: light.turn_off
|
||||
target:
|
||||
|
Reference in New Issue
Block a user