1
0

Fix bedroom humidifier automations

This commit is contained in:
Przemek Grondek 2021-01-23 15:24:41 +01:00
parent d0e037c419
commit 81caebeb2d

View File

@ -6,11 +6,11 @@
below: '45' below: '45'
- platform: state - platform: state
entity_id: binary_sensor.bedroom_window_open_close entity_id: binary_sensor.bedroom_window_open_close
to: 'closed' to: 'off'
condition: condition:
- condition: state - condition: state
entity_id: binary_sensor.bedroom_window_open_close entity_id: binary_sensor.bedroom_window_open_close
state: 'closed' state: 'off'
- condition: numeric_state - condition: numeric_state
entity_id: sensor.ble_humidity_bedroom_sensor entity_id: sensor.ble_humidity_bedroom_sensor
below: '45' below: '45'
@ -27,7 +27,7 @@
above: '50' above: '50'
- platform: state - platform: state
entity_id: binary_sensor.bedroom_window_open_close entity_id: binary_sensor.bedroom_window_open_close
to: 'open' to: 'on'
condition: [] condition: []
action: action:
- service: switch.turn_off - service: switch.turn_off