From 81caebeb2d4d4174467a053d6cadea9aebe89226 Mon Sep 17 00:00:00 2001 From: Przemek Grondek Date: Sat, 23 Jan 2021 15:24:41 +0100 Subject: [PATCH] Fix bedroom humidifier automations --- automations/files/bedroom-humidifier.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/automations/files/bedroom-humidifier.yaml b/automations/files/bedroom-humidifier.yaml index 42c4a6a..c9469d6 100644 --- a/automations/files/bedroom-humidifier.yaml +++ b/automations/files/bedroom-humidifier.yaml @@ -6,11 +6,11 @@ below: '45' - platform: state entity_id: binary_sensor.bedroom_window_open_close - to: 'closed' - condition: + to: 'off' + condition: - condition: state entity_id: binary_sensor.bedroom_window_open_close - state: 'closed' + state: 'off' - condition: numeric_state entity_id: sensor.ble_humidity_bedroom_sensor below: '45' @@ -27,7 +27,7 @@ above: '50' - platform: state entity_id: binary_sensor.bedroom_window_open_close - to: 'open' + to: 'on' condition: [] action: - service: switch.turn_off