I have a little problem with my lights based on motion.
When the motion sensor is on and the time is between 19:00 and 7:00 then lights on
when the motion sensor is off then wait 60sec and turn off lights
But when i turn on the phisical button where the light is included, then the lights is on until i turn them of myself.
sorry for my bad english ;/