Why don’t implement a rule, that checks want kind of day ist: Workday, weekend, holiday or something like this.
Maybe this gives you a little more input:
Edit: OH 4 Updates
Problem Statement
Often in home automation there is a need to track certain states that the system is in. Events occur to transition from one state to another state (e.g. at noon we transition to the AFTERNOON state). The collection of all the possible states and the transitions between events is called a “state machine”.
This design pattern illustrates some ways OH can implement very simple state machines.
One of the most common uses of a state machine like this is to trac…