Rule-4.0 Time Between condition not working

It would seem to me that a Time Between condition on Rule-4.0 presence rule is not working as expected. This rule is triggered by a presence change. The action is to switch on some lights. The Time Between condition is for sunset to sunrise. Even during the day, this rules action always get fired. Based on this condition, I don't think it should. Is this a bug? Do I not understand conditions correctly?

Only adding the to “Manage or create conditions” won’t apply these conditions. See that part as a “repository of conditions” that you can use in your rule.

You have to add a Simple Condition where you apply it, like this:

IF (Time between sunset and sunrise) On: Entry Lights

This is not what you want but it is an example of what @dan.t is talking about.
When we both arrive home the radio will only turn on if the time is between that specified.
This also shows that you can put addition conditions in as well. Day must be Mon to Fri. (Weekend virtual switch off).
Hope this helps you.

image

Did you mean to add a screenshot?

Oops. :blush:

Thanks guys. That was not as intuitive as I would have expected. I guess RTFM definitely applied here. :wink:

Altered my rules using your examples and they are working as expected now.

2 Likes

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.