Is it possible to create and run a REST command on the fly in an automation or script?
I can’t find anything looking through the docs or doing a search, but perhaps someone knows how?
Basically I want to use the WLED HTTP API to set the light colours, and have to do it this way as HA doesn’t support setting 3 colours.
Also I want the colours to be dynamic, rather than needing to make and maintain 60+ presets.
As far as I can see the templating only works on the payload, which the WLED API doesn’t support, its all got to be in the URL as it doesn’t use query strings correctly (i.e. its missing the ‘?’).