Turn off lights when plugged in after 10pm and before 7am