Confused about light turning on even though it shouldn't

I have a light that I want to turn on in the morning at 7:20 and if its 30 minutes before sunrise because its still light enough outside that it does not need to be turned on.

alias: Turn on E27 1 In the morning
description: ''
trigger:
  - platform: time
    at: '07:20'
condition:
  - condition: sun
    before: sunrise
    before_offset: '00:30:00'
  - condition: time
    weekday:
      - mon
      - tue
      - wed
      - thu
      - fri
action:
  - type: turn_on
    device_id: 8708a0e
    entity_id: light.dimmable_light_4
    domain: light
    brightness_pct: 80
mode: single

Today the sunrise was at 07:24 and my light still turned on at 07:20! What am I not getting?

I think the offset needs to be negative if you want it to be 30 minutes before sunrise. (Otherwise it will add 30 minutes)

before_offset: '-00:30:00'

Hmm then what does the radii buttons do?

You can define an offset for “before sunrise” and you can define an offset for “after sunrise”.
This offset can be positive (so it will be added to the point in time) or negative (so it gets subtracted from the point in time). Also see here.