I just read „Tageszeitphasen".
You should try the time based state machine. That’s much easier than setting up everything from scratch