I have 2 thermostats, one upstairs (ecobee) and one downstairs (trane zwave). The thermostat downstairs is not actually connected in anyway to my hvac system. Id like to just use it to control the Ecobee upstairs but both thermostats need to match modes and set temperatures.
Currently I have a working automation that is able to update either thermostat’s mode so they are both the same.
That automation looks like this:
I’m wanting to also match set temperature. So if for example, I set one thermostat mode to heat_cool and adjust the target_temp_high and target_temp_low it will reflect the same on the other thermostat.
My research suggests maybe creating a sensor using a value template might be what I’m looking for but honestly I’m not sure how to create that correctly and implement it into an automation.
Now I just need help creating an automation that when that sensor state changes it will set the target temp of the basement thermostat to the same value.
Hi I am also trying to get same result. I have a BECO Thermostat which communicates via mqtt with home assistant. Now I want to “sync” those two climate entities.
2020-06-01 22:44:16 ERROR (MainThread) [homeassistant.components.automation] AC Sync Bedroom: Error executing script. Invalid data for call_service at pos 1: required key not provided @ data['hvac_mode']
If you go to Developer Tools > States and select one of your thermostats. Note the options for hvac_modes. Then check the other thermostat and see if it has the same options for hvac_modes. Possibly if they don’t have the same options they wont be able to sync correctly.
Also, what version of HA are you running? I’m on 110.4 currently and my original code is still working.
I suspect the problem might be that your action is ordering both thermostats to do something when you really only need one of them to match what you just changed the other one to.
I have two separate automations, one for each thermostat.
Possibly you could try adding a delay of a few seconds to the action, that way it gives a little extra time for all the back and forth communication to happen.
Did you ever find a solution to your loop problem? I have noticed recently that occasionally I find my two thermostats target temps moving back and forth (same loop you are talking about I suspect). I’m testing a delay right now but since the problem doesn’t happen all the time I’m not sure how long it will take for the problem to happen again.