I’m a week into my HA ownership, moving over from Homeseer - I’m learning so much and really enjoying it. Thanks to the community for all their efforts and investment.
I’ve spent way too much of today trying to automate my heating and would really appreciate some help. I have a Nest thermostat controlling my central heating, and would like that whenever the target Nest temperature (climate.hallway) changes, that temperature change is sync’d to my electric underfloor heating (UFH).
There are three UFH zones as follows (climate.z_wave_thermostat, climate.z_wave_thermostat_2 and climate.z_wave_thermostat_3), in an ideal world I would like the flexibility to vary the temperatures +/- a few degrees from the Nest target temperature.
I’ve struggled to work out exactly the best way to make this happen - I’ve explored automations, tried the UI, looked at helpers and trawled many forum posts. Based on my reading I’ve constructed this in the Template Editor and it returns the result I’m expecting (Nest temp - 2 degrees and the example target here being one of my UFH zones):
I’ve got part way there, but I really don’t know what to do next and I’m not convinced that I’m using the easiest method or best tool for the job, based on my target end-state.
I used an add-on/plugin to achieve this on Homeseer so wondering whether a similar approach is needed. Any advice or pointers would be very much appreciated. Thank you.
you can test that out in the service actions dev tools. it will automatically create the correct syntax if you first use the UI method and then click Yaml
Note that your template has an odd state default value in the | float(state) filter. set that to a real number.
I cant imagine that state didn’t throw an error in the dev tools template?
you could make it a bit more controllable from the Frontend dashboard if you’d use an input_number for the -2. that would allow you to set in in the frontend, and not have to edit the automation
Thank you very much for the explanation and advice. With your help I have now managed to create three different actions, one for each target device, and I’ve “hard coded” the temperature differential I require in each. It gets me where I want to be for the moment…
However, I really like the idea of being able to control from the Front End as you describe. I have managed to create the “Calibrate Temperature” helper as per your screenshot, but are you able to provide a quick guide as to what steps I need to follow in order to make it more user-friendly as you describe?
just add it to a card in your dashboard where you need it most, eg next to your climate entities, nothing more. In take it you wouldnt want to keep changing it daily
(ofc also add the line in your automations, so these actually use the input_number…)
If you mean the code included in my original post, it’s something that I put together based on reading lots of different forum messages - I realise now it was full of errors…I’m still learning