Hi all,
I’m a newbie with respect to python and pyscript but have some development experience with c and matlab.I recently changed from Domoticz to Home Assistant and now I would like to recode some of my old scripts. One script is to control all thermostats.
I would like to check several attributes/entities of a thermostat (climate) whatever change is made. For example, check or reset ‘temperature’, ‘max_temp’, ‘window_detection’, whatever.
Furthermore, I have made a group with all thermostats I have.
How do I have to define the @state_trigger to trigger a certain reset function, for every attribute change made, for every device in the group? I want to make a more generalized script.
Looking forward to your advice. many thanks in advance.
/WW