Sunset with offset didn't run
-
I think I am not understanding this:
before <time> -- will be true between midnight and time (changes to false at time);
after <time> -- will be true between time and midnight (changes to false at midnight).This is the current triggers
Late last night around 2:30am when I turned off the lamps the rule was then firing and turning them back on.
-
The rule also fired because you turned the lamps off, which made lamp conditions go true. Your logic needs to be deeper than this for what you want, I think. What you have basically written here is 'turn on the lamps after sunset if they are off and not in away or vacation', and that doesn't seem to be what you intended, but it did what it was told.
Agree with Elcid... your "before" on sunset needs to be an "after".
And, if you are really wanting this only to fire when the lights are off, then yes, it's time for Constraints as the easiest way... place your light conditions in the Constraints. Remember to set AND/OR properly: use AND if all lights have to be off for the rule to fire, or OR if the rule can fire as long as any of the monitored lights is off.
-
-
T toggledbits locked this topic on