From 0d3f1f3483e78dc80ab4375e552fc89a4c7a9a49 Mon Sep 17 00:00:00 2001 From: Tony Stork Date: Tue, 7 Nov 2023 19:40:48 -0500 Subject: [PATCH] Fix incorrect template condition #168 --- packages/presence.yaml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/packages/presence.yaml b/packages/presence.yaml index 54748fd..aa32b87 100644 --- a/packages/presence.yaml +++ b/packages/presence.yaml @@ -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: