Thanks for posting you code Hunter. I finally had time to go through it today and I think I have a better idea of how I'm going to code my scheduler.
It's very easy to follow and well commented, thanks again.
I do have a question tho. Say that your powerhead #1 (relay3) automatically turns off at 5pm. What happens if you want to manually turn it on after 5pm?
Not sure if I read the code correctly or understand it completely, but it seems like your buttons can either turn a relay off OR allow the scheduler to take over. Do you consider the opposite where you might want force a relay on?
That's where I ran into the problem and started coding 3 states for each button: ON-OFF-AUTO (unless you don't care about forcing a relay ON)