I set up a piston to turn off my Nest thermostat when a certain window is open. This part works
What I would like to do is when I close the window, have the Nest return to its previous state. So if the A/C was on, it would come back on and vice versa for the heat
I wasn’t sure if there is a simple way to do this, or if I need to set up a schedule (months June-September turn on A/C, October to April turn on heat).
I am trying to avoid using the auto heating/cooling feature, but if that is my only option, so be it.
Any help ideas?