I have several rules for time-slot & motion based lighting, all build the same way.
Works like a charm, expept for my kitchen lights.
I want the lights to fade in on motion, and turn off if no motion in X time.
What I see is that the lights turn on after 24:00 on motion, but turns of after X amount of time even if there is motion.
Example: Middle of the night, I go downstairs, walk into the kitchen, lights fade in. Smoke a sigaret while in the kitchen standing still. Move again after one minute, but after two minutes the lights turn off, and stay off even if there is motion again. Then after about a minute, the motion is picked up again, and the lights fade in again.
What I want is: motion > lights on > keep lights on for X amount if time > if again motion, reset the X timer > if no motion during X timer > fade off lights to 0.
Am I doing somthing wrong in my rule? :