#Automation with multiple heating sources

1 messages · Page 1 of 1 (latest)

subtle pivot
#

So I am new to HA and just got it setup. Our house has Electric Baseboard heat, as well as Air to Air Heatpump units. I'm trying to do an automation that will heat up the house in the morning and use different heat sources based on the outside temperature.

For example if it is above 10 degrees outside I want to use the heat pump, but if its below 10 degrees I want to use the baseboard heat.

Can this be accomplished in 1 automation or do I just have to create 2 separate automations?

lament needle
shadow pagoda
#

Simply create a single automation which is triggered based on the time of day you want start the heating in the morning. Then add conditions to check the outdoor temperature:

alias: Morning Heating Control
trigger:
  - platform: time
    at: "06:30:00"  # Time to start heating
condition: []
action:
  - choose:
      - conditions:
          - condition: numeric_state
            entity_id: sensor.outdoor_temperature
            above: 10
        sequence:
          - service: climate.set_hvac_mode
            target:
              entity_id: climate.heat_pump
            data:
              hvac_mode: heat
      - conditions:
          - condition: numeric_state
            entity_id: sensor.outdoor_temperature
            below: 10
        sequence:
          - service: climate.set_hvac_mode
            target:
              entity_id: climate.baseboard
            data:
              hvac_mode: heat
mode: single