1) Give a description of the problem
I’m programming a piston to turn off my thermostat when any door or window is left open for 10 minutes. I’d like it to turn back to the previous commanded mode after all contacts have been closed for 5 minutes.
2) What is the expected behaviour? (I always find that 1 and 2 in this template should be swapped)…
The open part is working well, but I cannot get the stays closed for 5 minutes part (3rd ‘if’ statement) to change the global variable.
3) What is happening/not happening?
See above
4) Post a Green Snapshot of the piston
5) Attach logs after turning logging level to Full
Maybe later…