MQTT light: Send single state message with all data

I think I found the solution. In the discovery MQTT packet, I had to put schema: json type, and then I receive all commands on single topic and I can update the state with single MQTT message.

This one helped: MQTT RGB light with brightness / color temperature - how to get HA to actually send brightness/color_temp? - #5 by FloatingBoater