Change color order from RGB to GBR for flux led

Ehlo,
I am installing a new Wifi led controler and I noticed the color is off because the pins are not in the good order. Can I solve this on home assistant or should I resort to hardware hack for this ?
Thanks in advance !