I am experimenting a bit with led strips and I have purchased Tuya RGBW controller. Judged by the picture it is TS0504A, but zigbee2mqtt recognized and paired it as a B variant. I have realized that red and green channels are wrong. I have used different strips, so I believe it is the controller at fault. I can get desired colours by substituting the colours in the payload, i.e. 0,255,0 to get red instead of the usual 255,0,0. The problem is, that Home Assistant UI reads these colours in a standard way - the led strip is red, UI shows it green, etc.
Is there a way to amend the configuration and hardcode RGB to GRB conversion somehow?