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