Moving logic to control bedroom light if dark