How to set a colour in a effect on WLED via automation

I would like to set an effect with a sepcific colour,
of course

rgb_color :[255,0,0]

not work.

  action:
    - service: light.turn_on
      data:
        entity_id: light.your_wled_light
        rgb_color: [255,0,0]

I would like to choose the color for the effect

- service: mqtt.publish
  data_template:
  topic: wled/a1/api
  payload: '[FX=03] Wipe' 

something like
rgb_command_topic: "red"

I think I solved it, I still have to do some tests

- service: mqtt.publish
  data_template:
  topic: wled/a1/api
  payload: '&R=255 &G=0 &B=0 &W=0'