1) Give a description of the problem
Trying to restore the state of a thermostat
2) What is the expected behavior?
compare the current outdoor temp to the indoor temp to determine if thermostat should stay on or off if the outside doors are open. I wish to save thermostat mode and setpoint to be able to restore it after the doors shut. This seems to work fine for short durations of time but not long ones.
3) What is happening/not happening?
It seems to work fine for short durations of time. If the door contacts remain open for a couple hours, the saved states seems to be lost and the thermostat remains in the off mode after restoring. I’ve tried both local and global state saves but neither seem to solve the issue. I’m not sure what the difference is. I am using a Nest Thermostat if that matters.
**4)