I have a motion sensor which I set as a controller to a bedroom light scene so when you walk in the room and it's dark, the light turns on. This works great except that I don't want the motion sensor to work after I go to bed (say, if someone gets up to go to the bathroom). I wrote a program that says if between sunset and 10:30 pm and control motion sensor is on then turn on the light, but this doesn't work b/c the sensor is set as controller to the scene. If I remove it from the scene, the program works except for a much bigger delay between sensing and switching the light on. I'd really like to get the quickness of the scene controller back while preserving the program. How do I do it?