This is probably pretty basic but I’m a noob regarding the template stuff…
I’m trying to create a “climate alerts” sensor that basically reports if the thermostat is on or off (1/0), for some reason, this code is working for someone else but I can’t get it to work for me… pls help.
Maybe in the future but for the foreseeable future I only have just one thermostat. And can you give me an example please or link the documentation? Would like to get this sensor fixed.
Typo in rejectattr. You really need to understand these templates rather than copy and paste them. Retype them manually and look up every word or symbol you don’t understand.
Using your code it appears to have kinda worked! Thanks.
One last thing it’s reporting the thermostat as on right now even though its off so how can I make it use the “hvac_action” attribute which actually reports when its cooling or heating?