Here’s an exciting challenge.
My piston does turn the lights off after 1 minute goes by (1 is for testing instead of waiting 15), but the challenge is to have them cascade off when X minutes goes off for that light. I tried switch stays on for 1 minute, but it seems to turn off all lights, even if they were turned on at 45 seconds. I believe it’s due to the fact that the STAYS is intended as IF ANY LIGHTS ON IN THE PAST 1 MINUTE, as opposed to IF A LIGHT WAS ON FOR AT LEAST 1 MINUTE. This way as each light reaches one minute on, it will be turned off, then the next one after it too reaches one minute.
My IF does remember the matching lights, but if I turn on a light after 45 seconds has passed, it will add that new light to the variable since it’s also STAYED ON IN THE PAST 1 MINUTE.
I have a feeling this would actually be some kind of complicated loop, instead of a simple STAYS statement.