Problem with "sunset" in Basic Rules

Nearly finished my migration from SmartThings (and, wow, was it easier than the weeks I struggled with Home Assistant!), but I'm having a problem with a Basic Rule I set up to turn on lights at Sunset. I verified that my location is correct (and sunset is showing up at the appropriate time in settings), so I'm guessing that I'm making some sort of basic noob mistake?

It runs fine if I run it manually, so there seems to be some issue with the sunset trigger.

That looks good. The first thing I'd do is turn on "Enable logging," then look at Logs for entries for this app the next time you have trouble.

I'd also make sure you hit "Done" at some point since creating this rule, as the subscription for the sunset event will not be made unless you've done that (sort of a "save" button for apps).

1 Like

I recall having this exact issue when I used basic rules for one of my kids night lights. I ended up just setting up the rule via simple automation rules and worked perfectly. Could also do room lighting but feels like overkill for what you want to do.

I wonder if the hub is busy when sunset hits and misses the signal. I've had a similar issue with a mailbox light, and can't figure out why it isn't reliable.

Thanks, everyone. I now have it working. I'm not sure what I did, but I think the problem was with one of the devices that wasn't properly paired. It may be like SmartThings in that if one device is offline, the whole routine won't run?