Ledtu Smart LED Light Driver to ESP Home

I bought while ago a led panel:

The solution is built on Tuya and I integrated in Home Assistant. But many time the light is not reacting.

I tried out Tuya Convert - Tasmota but was not working.

The led panel is powered by Ledtu (www.ledtu.com) Smart LED Light Driver:

Datasheet: QE系列  智能照明隔离无频闪驱动器 - 乐图科技·Ledtu Tech

The inside:

Show that TYWE2S is used. (Used google to translate the page)
From Potential Wireless Flash for EKAZA Smart Plug 16A - TYWE2S - MCU V1.1.7? · Issue #1096 · ct-Open-Source/tuya-convert · GitHub I got know how to flash it.

Problem the IO0 is on the back side and blocked by the Elko. I had to desolder the TYWE2S to flash it.

I flashed it with ESP Home and that is my configuration:

light:
 - platform: cwww
    name: "desklight lights"
    cold_white: output_component1
    warm_white: output_component2
    cold_white_color_temperature: 6500 K
    warm_white_color_temperature: 3000 K
    gamma_correct: 0.0 

# Example output entry
output:
  - platform: esp8266_pwm
    id: output_component1
    pin: GPIO14

  - platform: esp8266_pwm
    id: output_component2
    pin: GPIO12

There is some mireds the led panel doesn’t like.