Rules which only have a mode restriction are marked with red Restricted annotation when the right mode is set.
But for some reason rules which have both a mode restriction AND a time restriction are not marked as Restricted during the allowed time even if the mode restricts them from running.
Example:
The rule "turn on lights if motion only when the mode is Day" will be marked as Restricted if the mode is Night.
The rule "turn on lights if motion only when the mode is Day and only between sunset and sunrise" will not be marked as Restricted if the mode is Night (probably because it's between sunset and sunrise?)
This rule has two restrictions (mode and time) and doesn't show as restricted during the night, when the mode restriction is active, but it is allowed based on time:
Thank you! Another thing that I've noticed (no idea what it means and if it is related), is that in the former rule example clicking on expanding the Restrictions opens a new screen while in the latter it just expends as a panel.
I sounds like one may be an older version, where the Restricted legend has not been fixed. If Simple Automation Rule 1.1 or older, it may well not work correctly. I don't intend to go back to fix this in older versions.
For Simple Automation Rule 1.2, it appears to work correctly for both one or two restrictions. This is the version that opens a new page for Restrictions.
Makes sense. Rule Machine has different apps for different versions, but looks like it's not the case for Simple Automation Rules? It looks like I have a mix of old and new rules there. What's the best way to migrate the rules to the new version? Delete the old ones and create new ones?
I'm a little confused about SAR versions. Mine shows "Version 1.1.4 (1/20/2022)" in the SAR entry, but I have platform 2.3.1.130, just updated. Same on two C7s. Where does the SAR 1.2 come in? I also found that Rule Machine does not offer to convert the one rule I have, probably because it' the older version.
Did you install a new SA rule? That is when it showed up for me. Until I installed that new rule just now to test this, it didn't say 1.2 anywhere for me either.
That new rule I installed looks exactly like Bruce's screenshot above.
Yeah, that was it. The original rule was apparently 1.1. When I made a new test rule, it then said 1.2, and Rule Machine offered to convert it. I had already done that manually, anyway, so I guess it's moot. Just wonder why the rule doesn't get converted automatically?