1) Give a description of the problem
My apartment has what is essentially one large room containing my kitchen, living room area, and computer desk. Each of those has a light but I never need more than 2 on at a time.
2) What is the expected behavior?
I’d like to create a piston (or multiple if necessary) that turns off the first light that was turned on if both of the others have come on.
3) What is happening/not happening?
Nothing is happening yet. This is my first relatively complex WebCoRE piston so I’m at a loss on how to begin even after poking around a bit. I have enough experience with other automation software (mainly Tasker) to learn quickly but also to know I could quickly trap myself in a loop where my lights are turning off every time I turn them on.
Thanks for your help! I’m loving the ST community so far and this seems like a wonderful extension of it.

please do bear in mind that after the first one is switched off then the second light you turned on now becomes the first light that was switched on out of the remaining 2 lights that were on so next time one of the 3 lights is switched on then this will become the new one that gets switched off and the loop will continue to evolve.


