Hi all,
i’m new to Home Assistant and tried several other approaches beforehand (Domoticz, homee, Homey).
In Homey it was quite easy to write and read variables in automations (flows).
That way it was possible to read the target temperature from one Thermostat (tado), store it into a variable and then set the same value as target for another thermostat.
How could i realise this in home assistants automations, if i don’t wan’t to use IFTTT?
I had prepared a response, and was about to post it, and then discovered you had already solved it on your own! Congratulations!
I’ll share what I prepared in case others would like a detailed explanation of the process.
This example assumes you have two thermostats:
climate.thermostat1
climate.thermostat2
When you change the target temperature of thermostat1 you want it to also set the same temperature for thermostat2.
To make things easier, we create a template_sensor that monitors the temperature attribute of thermostat1. This new sensor’s entity_id is sensor.thermostat1_temperature.
Now we create an automation that triggers whenever sensor.thermostat1_temperature changes state. The automation’s action: will set thermostat2’s temperature to be the same as thermostat1’s temperature.
After restarting Home Assistant, thermostat2’s temperature will not be the same as thermostat1. It will be the default temperature (21 C). To fix this, you can add a second automation that runs shortly after Home Assistant starts and executes the Thermostat Synchronizer automation.