So
I have a prison, checks for movement during the day
If no one is around, lights go out.
The only problem
The piston fires during the pre sunset hours but since I have a no TCP so it changes over motion, that wait 45 can kick in after dark
What would be the best way to handle that ?