Hi There
I have a home assistant setup with a couple temperature sensors and relay outputs to my heating system to turn the heating on.
The temperature sensors and outputs for a thermostat in the configuration section as below
climate:
-
platform: generic_thermostat
name: upstairs_thermostat
heater: switch.heating_upstairs
target_sensor: sensor.master_bedroom_thermometer_temperature
unique_id: upstairs_thermostat
min_temp: 5
max_temp: 25
ac_mode: false
target_temp: 10
cold_tolerance: 0.3
hot_tolerance: 0
min_cycle_duration:
minutes: 5
initial_hvac_mode: "heat"
away_temp: 10
home_temp: 20
sleep_temp: 15
precision: 0.1 -
platform: generic_thermostat
name: downstairs_thermostat
heater: switch.heating_downstairs
target_sensor: sensor.living_room_thermometer_temperature
unique_id: downstairs_thermostat
min_temp: 5
max_temp: 25
ac_mode: false
target_temp: 10
cold_tolerance: 0.3
hot_tolerance: 0
min_cycle_duration:
minutes: 5
initial_hvac_mode: "heat"
away_temp: 10
home_temp: 20
sleep_temp: 15
precision: 0.1
I have a helper toggle for present and absent
I want the thermostats upstairs and downstairs set to 20 degrees between 0800 and 2000 when I am present, when I am not present or I am outside these hours I want the temperature to be set to 10 degrees