if motion is detected after 1minute, turn on light.