Hi there im trying to do a rule without succes
i have a motion sensor on the door and other 2 motion sensors inside the room,2 main lights and a table lamp i want to:
IF the main lights are off AND there has been no motion in any of the 2 sensors inside the room for the last 5 minutes,then and only then turn on the table lamp when the motion sensor of the door detect someone
where im having troubles is in the¨no motion in the last X minutes on X sensors¨i dont know how to achive that.
i want this to avoid the lamp get turn on IF someone is on the room,but because the sensors sometimes do not detect when someone is in a still position ,thats why i want 5 minutes of margin without NO MOTION.