Esphome zigbee cww light

Hello, friends.
Can anyone share a working example of CWW light control in Esphome for the ESP32-H2 (zigbee) board? My code is below, but I can only control on/off and brightness. There is no color temperature control, but there is color control, but my lamp is not colored.

substitutions:
  device_name: eglo-esp32-h2
  friendly_name: Eglo CWW Light

esphome:
  name: $device_name
  friendly_name: $friendly_name

esp32:
  board: esp32-h2-devkitm-1
  variant: ESP32H2
  framework:
    type: esp-idf
  partitions: partitions_zb.csv

# Enable logging
logger:
  hardware_uart: UART0

external_components:
  - source: github://luar123/zigbee_esphome
    components: zigbee

zigbee:
  id: "zb"
  components: all
  on_join:
    then:
      - logger.log: "Joined network"

output:
  - platform: ledc
    id: ww_color_temp
    pin: GPIO12
  - platform: ledc
    id: cw_color_temp
    pin: GPIO14

light:
  - platform: cwww
    name: $friendly_name
    id: light_1
    cold_white: cw_color_temp
    warm_white: ww_color_temp
    cold_white_color_temperature: 6500 K
    warm_white_color_temperature: 2700 K   
    constant_brightness: true
    restore_mode: RESTORE_DEFAULT_OFF
    effects:
      - random:
      - pulse:
      - strobe:
      - flicker:  

sensor:
  - platform: internal_temperature
    name: "Internal Temperature"
    id: "temp"
    filters:
      - delta: 0.1

Solved by replacing the code:

- id: COLOR_CONTROL
          attributes:
            - attribute_id: 0x400a # ColorCapabilities
              type: U16
              value: 0b0000000000010000 # Color temperature supported
            - attribute_id: 0x400b # ColorTempPhysicalMinMireds
              type: U16
              value: 153
            - attribute_id: 0x400c # ColorTempPhysicalMaxMireds
              type: U16
              value: 370
            - attribute_id: 0x0008 # ColorMode 
              type: U8
              value: 0x02 # ColorTemperatureMireds
            - attribute_id: 0x4001 # EnhancedColorMode
              type: U8
              value: 0x02 # ColorTemperatureMireds
            - attribute_id: 0x0007 # ColorTemperatureMireds
              type: U16
              device: light_cww_temperature_sensor
              scale: 0.333
              on_value:
                then:
                  - light.control:
                      id: light_cww
                      color_temperature: !lambda "return (float)x;"