MQTT CCT light with 2 channels of light

Hello can someone little bit experienced help me with configuration of MQTT LIGHT template.

I have one light controlled via DMX protocol (2 channels):

  • 1 channel is for 3000K led (warm white)
  • 1 channel is for 6000K led (neutral or daylight white)

As a DMX - MQTT gateway I am using this Gateway / DMX / MQTT

The dimmer for this light listen on topics:

  • DMX1 for first channel (integer value from 0 - 255, 0=light turn off, 255=100% of light)
  • DMX2 for second channel (integer value from 0 - 255, 0=light turn off, 255=100% of light)

I need to write a MQTT LIGHT configuration template for this CCT light mixing the right white temperature and brightness to this 2 MQTT topics.

Thank you for any advice.