Automation based on myq/cover and sun

I’ve tried about 20 iterations and can’t seem to make this work. The syntax must not be too bad because HA starts, but the automation doesn’t seem to work. Does anyone see anything obviously wrong with my YAML?

The goal:
When the garage door opens at anytime after sunset, activate a predefined scene (the scene is tested and works) to turn a couple of lights on inside the house.

my automations.yaml:

- id: arrive_night
  alias: 'Lights on'
  trigger:
    platform: state
    entity_id: cover.garage_door_opener
    to: 'open'
  condition:
    condition: sun
    after: sunset
  action:
    service: scene.turn_on
    entity_id: scene.lower_morning

For me at least, i had to use the binary sensor form of the sun.

Was able to get this working with the following:

  alias: 'Lights on'
  trigger:
    - platform: state
      entity_id: cover.garage_door_opener
      to: 'open'
  condition:
    - condition: state
      entity_id: sun.sun
      state: 'below_horizon'
  action:
    - service: scene.turn_on
      entity_id: scene.lower_morning