Sunrise event triggers too late

Hi, I want my roller blinds to open on sunrise so I setup automation which should trigger on 2024-08-20 6:04 am according to google (“sunrise in lithuania 2024-08-20”).
But it triggers 3hours latter:

Maybe this bug is because my time is (GMT+3)?

Any help how to fix this?

Thanks

Check the state of sun.sun, and the attributes - under Developer Tools → States

Sunrise is based off the location (and altitude), so if sunrise is wrong then probably the location of home is wrong.

The altitude is wrong in the sun integration. Use sun2 from HACS instead.

The altitude in the sun integration use the altitude from the user setting screen, but in fact it should be the altitude over/under ground in relation to objects blocking the events.
This means if you have a neighboring house that blocks the view of the sunrise, then the altitude should maybe be -2.
If you live on the second floor and have no blocking objects, then it should instead be maybe 2.
This value can move the event times quite a lot, especially if your altitude in user settings is a higher digit.

sun.sun below_horizon state

next_dusk: 2024-08-21T18:27:42.379755+00:00
next_midnight: 2024-08-21T00:03:02+00:00
next_noon: 2024-08-21T12:03:09+00:00
next_rising: 2024-08-21T05:59:52.165236+00:00
next_setting: 2024-08-21T18:06:11.652901+00:00
elevation: -13.96
azimuth: 282.46
rising: false
friendly_name: Sun

I have changed location (maybe it was unset for some reason)

sun.sun

next_dawn: 2024-08-21T02:25:47.113052+00:00
next_dusk: 2024-08-21T18:16:44.148712+00:00
next_midnight: 2024-08-20T22:22:02+00:00
next_noon: 2024-08-21T10:22:08+00:00
next_rising: 2024-08-21T03:06:34.723303+00:00
next_setting: 2024-08-21T17:36:13.699774+00:00
elevation: -14.68
azimuth: 318.12
rising: false
friendly_name: Sun

maybe it will work correctly now? Still does not look like 2024-08-20 6:04 am like in google?

So you have a mountain blocking your view?