Hey folks,
I have a problem with one of my rules.
If
lamp is turned on for 5 minutes and pir is absent for 5 minutes
then
turn off lamp
The 5 min delay is to prevent to lamp to go off, if I turn the lamp on when no movement is detected. But… If I turn it on and go inside the room(movement detected) the lamp goes off after 5 min
Any ideas?