Hi, this is my 1st post so I’ll try my best to make it understandable.
My goal is to have an automation that triggers when it evaluates that the temperature read from a “Room stat” is 2 degrees lower than the “Set temperature” for the room, then to turn the heating on. I believe I need to use the “value_template:” but have had no luck in getting it working. I’ve tried the developer tools template tool but I get the error ‘input_number’ is undefined. I’m new to both HA and YAML so would appreciate some guidance.
Thanks.
This is the code generated by the visual automation editor.
Thanks for this, I didn’t know that there was a generic thermostat so I tried it and failed. where abouts do I put the yaml code for HA to use it? I set up a Thermostat card but not sure how to get it to use the following yaml settings.