Just out of curiosity, would you mind trying another sun integration, to see, if it works with that?
I’m starting to get the feeling, that something’s off with the sun sensor from HA.
Please try this integration and see, if it triggers the automation correctly.
And here’s the support topic:
It’s available in HACS.
EDIT: as a custom repository in HACS… 