I’ve been having a curious problem with sunrise also. I have a few triggers on sunset / sunrise which mostly seems to work. The one that stopped working a week or two ago, is my smart nightlight, which is triggered on motion. It started coming on during daytime, whereas previously I it only came on during the dark hours (after sunset to before sunrise).
Whenever I noticed it come on during the day, I would go to the settings of the smart app and just click done. It then seems to fix itself. I tried various suggestions with offsets, uninstalling and re-installing, but nothing fixed it permanently. The next morning it would be back to not working, i.e. light coming on when it’s light.
I looked at the code, and I can’t really see how an issue with sunrise / sunset not firing will affect it the way that it does. The code sets the sunrise / sunset time in state variables when it initializes and also subscribes to sunrise / sunset changes. However, if those events don’t fire, the state should still be set to yesterday’s values, which should be off by a minute or two. So either the actual sunrise / sunset calculations are wrong and the state gets overwritten with garbage values, or the state itself gets corrupted.
In any case, it’s a bit of annoyance and I hope it gets fixed soon.