On_turn_off stopped working after recent update

I recently updated my ESPHome version to the latest update and for some reason my on_turn_off is not triggering anymore. The on_turn_on part works.

light:
  - platform: monochromatic
    name: "kitchencabinet1-1"
    # Part of upper cabinet lighting
    id: kitchencabinet1_1
    default_transition_length: 2s
    output: LED_gpio_27
    on_turn_on:
    - switch.turn_on: kitchen_button_3_LED
    on_turn_off:
    - switch.turn_off: kitchen_button_3_LED

Have you gotten anywhere with this? I have several 12v fans set-up like this and everything works as it is supposed to. You can interchange speed fan and monochromatic light, outputs the same signal. You could try that component and see if you still have a problem.

my fan yaml

fan:
  - platform: speed
    output: gpio_4
    name: "GT Fan 01"
    on_turn_on:
    - switch.turn_on: relay2
    on_turn_off:
    - switch.turn_off: relay2

https://esphome.io/components/fan/speed.html

I just found this issue in Github that seems to be related to mine. Apparently its an issue with the light component when there is a transition involved: