I have this piston where if all are gone for at least 15 minutes the thermostat will go into ECO mode, but I think I’m using the STAYS incorrectly. I don’t want the piston to run unless the house has been empty for at least 15 minutes, but what happens if 2 have been gone for hours, then the last one leaves? I see the piston seems to re-run, which I’m assuming another 15 minutes has gone by. This is why I decided to use the “everyonesGone” variable as a switch to try and prevent this.
It feels like I’m not doing this right. I want the piston to only run once, but after the last person has left for at least 15 minutes. Just in case they return before hand, I don’t want to go into ECO in that situation.
Would love some advice on this.