Yesterday I moved my smart bulbs back to Hubitat and created new rules for them.
The two rules that use Sunset are not executing the Turn Off logic at the chosen times.
Rule 1:
When Time of Day is 120 minutes before sunset ...
Turn on Couch Light
Wait until Time of Day is 11:00 PM, then ...
Turn off Couch Light
At 11:00 PM the light does not turn off.
Rule 2:
When Time of Day is 60 minutes before sunset ...
Turn on Living Room Light
Dim Living Room Light to 80
Wait until Time of Day is 11:00 PM, then ...
Dim Living Room Light to 30
Wait until Time of Day is 12:10 AM, then ...
Turn off Living Room Light
On this rule, the light did dim at 11:00 PM but did not turn off at 12:10 AM.
I have other rules that turn on and off at specific times, and they work fine; it's just these rules that use Sunset that are not working correctly.
Well I sure don't see anything wrong. Usually when I have a rule that looks right but isn't working I will recreate it from scratch and see if that fixes it. Sometimes they seem to get confused behind the scenes. If you recreate it and it still doesn't work then there is a bug somewhere I'd say. If you turn on logging what does it show?
I've created a similar rule on another light that I hadn't automated, to see if a totally new rule also shows the same behaviour.
The other two lights have been moved to Simple Automation Rules, using rules I had used successfully before. Won't know until tonight whether they still work.
I’ve been experiencing weird issues within the last month that are similar to this.
Mostly has to do with scheduling motion sensors and lights as well as time of day.
I’ve been moving my rules around from Rule Machine, Simple Rules, Basic Rules, and Room Lighting.
Some of my rules will work perfect for a day or two, then they will just stop. So then I’ll try another and same thing.
I’ve rebooted the hubs, checked for older unused drivers and apps and removed them, turned off logging for other devices, etc. just in case it’s a memory-related issue.