Automation Execution Bug?

I have the following automation to turn on and off my front lights at sunset and sunrise:

alias: Night Lighting - Outside
description: Turns on or off the outside lights according to time of day
trigger:
  - platform: sun
    event: sunset
    offset: "00:15:00"
    id: sunset
  - platform: sun
    event: sunrise
    offset: "-00:15:00"
    id: sunrise
condition: []
action:
  - if:
      - condition: trigger
        id: sunset
    then:
      - service: light.turn_on
        data: {}
        target:
          entity_id: light.front_lights_switch
    else:
      - service: light.turn_off
        data: {}
        target:
          entity_id: light.front_lights_switch
mode: single

It had been running fine for about 8 months. But around a month ago it started glitching sometimes. When it executes at sunset it turns the lights on and a second later the else action also executes. An example from today:

Has anyone else seen this?