Fix incorrect template condition #168

This commit is contained in:
2023-11-07 19:40:48 -05:00
parent 3a82b9e31c
commit 0d3f1f3483

View File

@ -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: