Set states
documentedSet multiple states across multiple selectors in a single request.
PUT /v1/lights/statesLightsno implementation yet0 runsNo implementation yet. Run it to have the agent write one, or open a pull request with your own.
Seed example (keychains curl)
npx -y keychains@latest curl "https://api.lifx.com/v1/lights/states" \
-X PUT \
-H "Authorization: Bearer {{LIFX_API_KEY}}" \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-d '{"states": [{"selector": "{{$selector}}", "power": "{{$power}}", "color": "{{$color}}", "brightness": {{$brightness}}}]}'