Offset Help for a Slightly Brain Dead N00b

Can someone help me interpret this condition in plain English?

condition:
    condition: and
    conditions:
      - condition: sun
        after: sunset
        after_offset: "-1:00:00"
      - condition: time
        before: '22:00:00'

My goal is to check two things. 1) is it one hour before sunset and 2) is it 10PM yet. I’m stuck on the offset part. Thanks!

condition:
    condition: and
    conditions:
      - condition: sun
        event: sunset
        offset: "-01:00:00"
      - condition: time
        before: '22:00:00'

So is "offset: “-1:00:00” " the same as saying "subtract one hour from the sunset time?

yes. if you want to do it after sunset you would use

"+01:00:00"