Automation with 'Sun' trigger causes HASS to crash at initialization

Not sure if there’s a debug mode I should be investigating this within - but after updating to .30 from .28, any automation which is triggered with the Sun platform causes HASS to fail to load/parse the config at start.

Nothing is written to the log, either - and malforming or removing the automations allow HASS to boot fine. Also tried tweaking (and outright removing) all of my lat/long settings in the configuration.yaml

These automations all worked fine prior to the update - here’s an example of two that will crash HASS:

- alias: 'entry_lights_sunset'
  trigger:
    platform: sun
    event: sunset
    offset: "-02:00:00"
  action:
    service: scene.turn_on
    entity_id: scene.living_on
    
- alias: 'entry_lights_sunrise'
  trigger:
    platform: sun
    event: sunrise
    offset: "-02:00:00"
  action:
    service: scene.turn_on
    entity_id: scene.living_off

HASS will crash either around loading the sun component or when loading my scenes - kind of varies. Tried renaming them, testing different actions - tried adding conditions, nothing works. I have at least a dozen other automations that work fine - but it’s any that use the sun component that cause the whole thing to fail.

See:

I already reviewed all of the breaking changes in each of the blog posts between the version I was running and .30 - what specifically are you trying to point me to?

I’m not using any deprecated condition values like “use_trigger_values” and I already updated all my other automations weeks ago when they became deprecated:

- alias: 'photoframe_sunset'
  trigger:
    platform: sun
    event: sunset
    offset: "04:00:00"
  condition:
    condition: state
    entity_id: switch.pictureframe_override
    state: 'off'  
  action:
    service: switch.turn_off
    entity_id: switch.5button_3

Any automation using the ‘sun’ platform, no matter how simple, will crash my HASS instance upon loading the config.

Unless someone has a better idea - I backed down to 0.29.0 and had to remove my nest configuration and sensor (why? I have no idea - I had already updated it to climate) - and things are working. I will begin upgrading version by version until it breaks again.

No issues with your provided sample on 0.31.0.dev0.