Mode manager has a feature to trigger mode change based on the earlier of two times. So, for example, I can have evening start at 5:00pm or Sunset, whatever is earlier.
This would be an awesome trigger for a lighting rule I have and I have made something work, but it feels super clunky to me. If the trigger was available, that would allow me to clean up my rules. I have thought about setting the lights based on the mode, but then it would not work when my mode is set to away and that I want this rule to run independent of mode.
What is your current solution? I can't speak to the likelihood of this being implemented, but perhaps there is something less awkward than what you're doing right now. (My first thought involves a required expression of private boolean true, setting it false first thing in your actions, and using a wait for event: time is 11:59 PM or similar before setting Private Boolean to true last thing in your rule actions. Yeah, a bit of work, and possibly something you'd need to do differently depending on what else this rule is doing and how it's configured, but in general already do-able.)
Thank you so much. The previous way I was doing this was to have 2 rules and just limit one to firing off only during a certain time frame. Like I said, it was clunky. But, this is elegant and solves my problem.
That's actually a good reminder to not get complacent in one's use (and TESTING) of Mode settings -
Day/Evening/Night for Away
vs Day/Evening/Night for Home
vs Day/Evening/Night for BOTH
...this differentiation is warranted for a lot things and I bet there are more than a few folk with rules that have been configured with a quick mode setting decision that would be tripped up by using Away and trusting all-to-be-right.
I have been using a later of two times for some time now in several rules, but a recent update it stopped working in one rule, can you review and let me know if I have something wrong or what I should do.