I'd like a light to turn on for an hour in the morning. How should I do that so that it works with other rules as well?
I could make a rule that evaluates to true between two times and turns the light on when true. What about turning it off? I guess I should add an action to turn it off when false.
But what if I have another rule to turn on the light for an hour in the evening using similar logic? That would presumably create a contradiction: During the evening, the rule would be true and turn on the light, but the morning rule would be false and turn off the light.
What's the right way to do this? Triggers based on time? (And the general question: when rules contradict, what's the behavior?)
BTW, a related scenario: What if I manually turn on the light in the afternoon? Won't the morning rule, which is evaluating to false, immediately turn it off?