From 2c73b6a6f1b820caa0bce75c300544c1178f4f83 Mon Sep 17 00:00:00 2001 From: 31c0fe9c6dbd74bcdde92e1d2aaa03e1d272f75f Date: Wed, 14 Jun 2023 13:25:24 +1000 Subject: [PATCH] Home Assistant Git Exporter --- config/packages/climate.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/packages/climate.yaml b/config/packages/climate.yaml index 3e52005..ad269d1 100644 --- a/config/packages/climate.yaml +++ b/config/packages/climate.yaml @@ -32,7 +32,7 @@ automation: - unavailable - unknown entity_id: climate.living_room_a_c - condition: "{{ not is_state('switch.living_room_a_c_ionizer', 'on') }}" + condition: "{{ not (is_state('climate.living_room_a_c', 'off') or is_state('switch.living_room_a_c_ionizer', 'on')) }}" action: - service: switch.turn_on entity_id: switch.living_room_a_c_ionizer