Lights Flashing at Midnight when using Flux

I’ve set up home assistant on a raspberry pi, and I’ve got it set up using the built-in flux setup to make my Philips Hue lights gradually change throughout the day. This works really well, and I am pleased by it. There is one oddity though. At midnight, every night, it does the double flash, like what you see while configuring a bulb for identification. Does anyone else have this issue, or know what is happening and how to deal with it?

Not that it is anything crazy, but I have attached the config settings I currently use:

# Flux Entry
switch:
  - platform: flux
    lights:
      - light.office_1
      - light.office_2
    name: Fluxer
    start_time: "7:00"
    stop_time: "23:00"
    start_colortemp: 4000
    sunset_colortemp: 3000
    stop_colortemp: 1900
    brightness: 200
    disable_brightness_adjust: true
    mode: mired
    transition: 30
    interval: 60