From 7f33d3d7be7920b15a3462a936eca56e0b844121 Mon Sep 17 00:00:00 2001 From: Tony Stork Date: Wed, 16 Aug 2023 22:44:28 -0400 Subject: [PATCH] Fix hallway night button ignoring shower mode --- automations.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/automations.yaml b/automations.yaml index 4f5d051..666a26d 100644 --- a/automations.yaml +++ b/automations.yaml @@ -1062,7 +1062,8 @@ - condition: template value_template: '{{ is_state(''timer.upstairs_bathroom_motion_timer'',''idle'') and is_state(''binary_sensor.upstairs_bathroom_motion'',''off'') and - is_state(''light.upstairs_bathroom_lights'',''on'') }}' + is_state(''light.upstairs_bathroom_lights'',''on'') and is_state(''input_boolean.shower_mode'',''off'') + }}' then: - service: light.turn_off data: {}