automation: # Automation to turn on the heat pump at 9pm in the master bedroom (if switched on with the helper) - id: master_bedroom_offpeak_dehumidify alias: Master Bedroom Off-Peak Dehumidify mode: single triggers: - trigger: time at: "21:00:00" conditions: - condition: state entity_id: input_boolean.master_bedroom_offpeak_dehumidify state: "on" actions: - action: climate.set_hvac_mode target: entity_id: climate.master_bedroom data: hvac_mode: "heat_cool" - wait_for_trigger: - trigger: time at: "00:00:00" - action: climate.turn_off target: entity_id: climate.master_bedroom