Sunset values and offsets in conditions

Hi everyone,

I’m always getting confused when working with sunset values in conditions. Could somebody explain to me please, why this automation fired this morning?

This is what I get from looking at the last execution:

Executed: 4. April 2024 at 06:18:54
Result:
result: true
conditions/0

Executed: 4. April 2024 at 06:18:54
Result:

wanted_time_before: ‘2024-04-04T05:02:09.601426+00:00’
wanted_time_after: ‘2024-04-04T17:31:11.239111+00:00’
result: true

condition: and
conditions:

  • condition: sun
    after: sunset
    after_offset: ‘-00:45:00’

My goal was: this automation is executed only when it’s dark, meaning from 45min before the sun goes down until sunrise.

The 'wanted_time’s are looking good: from 0 until 05:02 and then again from 17:31 until 0.

But this one was executed at 06:18 and I do not know why. Ok, maybe I have to add one hour, because I live in central Europe. Or do I have to add two hours because of summer time?

Thanks a lot in advance