I created the attached piston to turn on some lights at home when either my wife or my presence sensor changes to “present”. I would like the piston to turn on 3 lights if they are not currently on. After turning them on I would like it to wait 15 min then shut them off. If the light was already on the piston should not touch that light.
I can see where it is getting hung up with the “Wait 15 Min” section but I don’t know how to write this piston to work the way I want. If it skipped over the “Wait 15 Min” and processed the rest of the “IF” statements it would be great but it is pausing the entire piston there.
Any help on how to accomplish what I am trying to do?
Here is the piston
Thanks
Jon