Scene with delays triggered again

I have a scene with a few actions for 2 mins after the trigger, 4 mins afteer, 6 and 10 mins after. What happens when the trigger is triggered while the scene is still running ?

You’re hoping that the delays from the old trigger will cease and be replaced by the new ones. That doesn’t happen. You just get the old and new delays interleaved together.

This was the impetus behind user-developed plugins like the Program Logic plugins and the Countdown Timer. Both of these can Do What You Mean with overlaps.

I am using PLEG, what it does is delayed actions on a door sensor being triggered, it unmutes my iphonelocator, then refreshes the location and it does that multiple times basically to see if i am leaving the house. I can live with overlapping triggers, although it would be cleaner and more battery saving to do it properly, which probably means trying to use PLTS… although i am getting quite good with PLEG, i am not so sure about PLTS

IN PLEG/PLTS if you have actions with delays … you will have a non deterministic execution of command …

Basically the immediate schedule will run … But the next set of actions to run will those from the first delay … however the time will be the lesser of the previous delay (that was pending) or the first scheduled delay … and subsequent intervals will be weird because you will have two timer walking down the list of delayed actions … where actual timing is only guaranteed when one is walking the list.