1
0
ansible-home-assistant/roles/scripts/files/12.humidifier.yaml

27 lines
768 B
YAML
Raw Normal View History

2022-12-14 23:56:50 +00:00
humidifier_on:
alias: Humidifier On
sequence:
- choose:
- conditions:
- condition: numeric_state
entity_id: sensor.bedroom_air_purifier_humidity
below: '45'
- condition: state
entity_id: binary_sensor.bedroom_window_open_close
state: 'off'
- condition: not
conditions:
- condition: state
entity_id: input_select.home_mode
state: 'Night'
sequence:
- service: switch.turn_on
entity_id:
- switch.humidifier_plug
humidifier_off:
alias: Humidifier Off
sequence:
- service: switch.turn_off
entity_id:
- switch.humidifier_plug