Update humidifier automation when window is open
This commit is contained in:
parent
2854b1056f
commit
074cd3c9f9
@ -4,7 +4,16 @@
|
|||||||
- platform: numeric_state
|
- platform: numeric_state
|
||||||
entity_id: sensor.ble_humidity_bedroom_sensor
|
entity_id: sensor.ble_humidity_bedroom_sensor
|
||||||
below: '45'
|
below: '45'
|
||||||
condition: []
|
- platform: state
|
||||||
|
entity_id: binary_sensor.bedroom_window_open_close
|
||||||
|
to: 'close'
|
||||||
|
condition:
|
||||||
|
- condition: state
|
||||||
|
entity_id: binary_sensor.bedroom_window_open_close
|
||||||
|
state: 'close'
|
||||||
|
- condition: numeric_state
|
||||||
|
entity_id: sensor.ble_humidity_bedroom_sensor
|
||||||
|
below: '45'
|
||||||
action:
|
action:
|
||||||
- service: switch.turn_on
|
- service: switch.turn_on
|
||||||
entity_id: switch.humidifier_plug
|
entity_id: switch.humidifier_plug
|
||||||
@ -16,6 +25,9 @@
|
|||||||
- platform: numeric_state
|
- platform: numeric_state
|
||||||
entity_id: sensor.ble_humidity_bedroom_sensor
|
entity_id: sensor.ble_humidity_bedroom_sensor
|
||||||
above: '50'
|
above: '50'
|
||||||
|
- platform: state
|
||||||
|
entity_id: binary_sensor.bedroom_window_open_close
|
||||||
|
to: 'open'
|
||||||
condition: []
|
condition: []
|
||||||
action:
|
action:
|
||||||
- service: switch.turn_off
|
- service: switch.turn_off
|
||||||
|
Loading…
Reference in New Issue
Block a user