Sign in

State delta

documented

Apply a delta to the light state (incremental color/brightness changes).

POST /v1/lights/{selector}/state/deltaLightsno implementation yet0 runs
No 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/{{$selector}}/state/delta" \
  -X POST \
  -H "Authorization: Bearer {{LIFX_API_KEY}}" \
  -H "Content-Type: application/json" \
  -H "Accept: application/json" \
  -d '{"power": "{{$power}}", "duration": {{$duration}}, "infrared": {{$infrared}}, "hue": {{$hue}}, "saturation": {{$saturation}}, "brightness": {{$brightness}}, "kelvin": {{$kelvin}}}'
State delta · LIFX · OpenIntegrations