If a window is open, the thermostat(s) in the room should turn off (or to it’s lowest setting) and when it’s closed, it should turn on with the latest used temperature again.
Currently we need atleast one helper to save the data for each thermostat and atleast two automations to save/turnoff and load/turnon.
Why is this so hard?