1) Give a description of the problem
I want to create a piston to only turn off a light if a contact sensor is in the “open” state for longer than 10 seconds when it goes back to the “closed” state
2) What is the expected behaviour?
If I leave the door opened for more than ten seconds, when I close it, the light should turn off. If I leave the door open for less than 10 seconds, do not turn off the light.
3) What is happening/not happening?
If I leave it open for more than 10 seconds, the light isn’t turning off.
Please help me!