1) Give a description of the problem
I have created a piston to turn on a light in my pantry when the door opens. It will turn off after 5 minutes of being open. I want to be able to still utilize the switch if I want to lets say if there is enough ambient light inside the house.
2) What is the expected behaviour?
Open pantry door light turns on, close pantry door and light turns off. If door is left open for 5 minutes light automatically turns off. If I want to turn the light off before 5 minutes and leave the door open I want to use the switch to turn it off.
3) What is happening/not happening?
Light turns on and off but cannot use the switch because I do not have a code that I know how to use for that to work.
**4) Post a Green Snapshot of the piston![image|45x37]
5) Attach logs after turning logging level to Full
(PASTE YOUR LOGS HERE THEN HIGHLIGHT ALL OF THE LOGS AND CLICK ON THE </> ICON TO FORMAT THEM CORRECTLY)
REMOVE BELOW AFTER READING