Files
zorruno-homeassistant/packages/climate_master_bedroom_dehum.yaml
2025-05-18 16:41:50 +12:00

25 lines
720 B
YAML

automation:
# Automation to turn on drying at 9pm in the master bedroom (if switched on ith the helper)
- id: master_bedroom_offpeak_dehumidify
alias: Master Bedroom Off-Peak Dehumidify
mode: single
trigger:
- platform: time
at: "21:20:00"
condition:
- condition: state
entity_id: input_boolean.master_bedroom_offpeak_dehumidify
state: "on"
action:
- service: climate.set_hvac_mode
target:
entity_id: climate.master_bedroom
data:
hvac_mode: auto
- wait_for_trigger:
- platform: time
at: "00:00:00"
- service: climate.turn_off
target:
entity_id: climate.master_bedroom