Rest command POST not working

Hey! :wave:
If you’re running into trouble formatting rest_command payloads for WLED — you’re definitely not alone. JSON escaping, quoting, and templating in configuration.yaml can be super tricky and frustrating to debug.

If you’re open to another approach, I created a custom integration that avoids all of this entirely. It’s called WLED Live View Proxy and it lets you send raw JSON commands directly to your WLED device over WebSocket — no escaping, no quoting issues, no YAML tricks.

Here’s the same command you tried, but as a service call:

action: wled_liveviewproxy.send_command
data:
  targets:
    entity_id: light.wled_matrix
  command: {"on":true,"bri":128,"seg":{"id":0,"col":[[0,255,200]],"fx":122,"n":"I Love Home Assistant"}}

No need for configuration.yaml or REST setup — just a clean, direct API call. You can use it in scripts and automations too.

More info and examples here:
:link: WLED Live View Proxy for Home Assistant

Hope it helps!