Closed platini76 closed 1 year ago
hello!
I have a problem, assuming that I am a noob, it is possible to use your plugin to make this call?
curl -XPUT https://api.lifx.co/v1/lights/states -d @states.json -HContent-Type:application/json -H"Authorization: Bearer $PROD_API_TOKEN"
states.json
{ "states": [ { "selector": "label:strip", "power": "on" }, { "selector": "label:strip|0-15", "brightness": 0 }, { "selector": "label:strip|16-31", "brightness": 1 } ] }
hello!
I have a problem, assuming that I am a noob, it is possible to use your plugin to make this call?
curl -XPUT https://api.lifx.co/v1/lights/states -d @states.json -HContent-Type:application/json -H"Authorization: Bearer $PROD_API_TOKEN"
states.json
{ "states": [ { "selector": "label:strip", "power": "on" }, { "selector": "label:strip|0-15", "brightness": 0 }, { "selector": "label:strip|16-31", "brightness": 1 } ] }