It's possible I'm missing something silly here as I'm trying to do something that should be straight-forward but just doesn't seem to work as I think it should. I'm trying to turn on a switch (for a towel heater) based on a motion sensor, but only if it detects motion between 5-9am, and only if the towel heater is currently switched off.
Therefore I have a trigger that detects motion, an action to turn the switch on, and two conditions for the action: Time should be between 5-9am and switch should be off. (see image below)
However, the rule turns the switch on every time it detects motion, even when the condition is not met. e.g. right now, when the rule clearly shows this condition to be false.
Is this because the conditions work on an "OR" basis rather than "AND", or have I misunderstood how they are supposed to work?
As a secondary question, I see lots of people pasting pictures of the boolean statements that make up their rules. Is there a way to show (or even write) RM4 rules in this format that I can access?
Any help/advice appreciated. Cheers!