How do I add this as an automation?
curl -X POST "http://[WLED-IP]/json/state" -d '{"on":"t","v":true}' -H "Content-Type: application/json"
https://kno.wled.ge/interfaces/json-api/
Currently using this:
automation nov_colors:
- alias: "WLED Nov"
trigger:
platform: state
entity_id: calendar.wled
to: "on"
action:
- service: rest_command.wled_api
data:
url: "http://[IP]/win&T=1&A=255&FX=65&FP=39"
rest_command:
wled_api:
url: "{{ url }}"
method: post
But this unfortunately doesn’t work with selecting a playlist to use.
1 post - 1 participant