1.20.4 Light Component Changes - Random Resets - What do I change in my config?

Hi,

I updated ESPHOME to 1.20.4 and I’ve take note of the Light Changes in the changelog, but I’m not sure what I need to do in my config.

Problem: I have a Mi Desk Light, it has been working great with ESPHOME for 1.5yrs. In 1.20.4, light turns off (esp restarts) when I have the light at 100% brightness, reduce to 90%, stable and works great! What do I change in my config to follow the recent Light Changes?

esphome:
  name: office_desk_light
  platform: ESP8266
  board: esp01_1m

wifi:
  ssid: "My Wireless"
  password: "#####"

# Enable fallback hotspot (captive portal) in case wifi connection fails
  ap:
    ssid: "Desk Light Fallback Hotspot"
    password: "#####"

captive_portal:

# Enable logging
logger:

# Enable Home Assistant API
api:
  password: "#####"

ota:
  password: "#####"

binary_sensor:
  - platform: gpio
    pin: GPIO2
    id: button
    on_press:
      then:
        - light.toggle: light_load

output:
  - platform: esp8266_pwm
    pin: GPIO4
    frequency: 1000 Hz
    id: load2
  - platform: esp8266_pwm
    pin: GPIO5
    frequency: 1000 Hz
    id: load1

light:
  - platform: cwww
    name: "Office Desk Light"
    cold_white: load2 
    warm_white: load1
    cold_white_color_temperature: 6536 K
    warm_white_color_temperature: 2000 K
    id: light_load

sensor:
  - platform: rotary_encoder
    id: rotary
    pin_a: GPIO13
    pin_b: GPIO12
    filters:
      - or:
        - debounce: 0.2s
        - delta: 5
    resolution: 1
    min_value: 1
    max_value: 10
    on_value:
      then:
        - homeassistant.service:
            service: light.turn_on
            data_template:
              entity_id: light.office_desk_light
              brightness_pct: "{{ brightness_1 | int }}"
            variables:
              brightness_1: !lambda 'return id(rotary).state * 10;'