As a suggestion add if timer becomes > than 3600 then turn off lights. Then timer to 1801. Then the lights get turned off forever even if turned on manually. I have this code in most all of my stuff and have reduced my electric bill by half!
I actually do if timer >3600 or <1 and 2 second eternal timer is 1 then all lights off then timer to 1801.
Paul
_________________________
Paul