Set StateAsk AIput https://api.lifx.com/v1/lights/{selector}/statePath ParamsselectorstringrequiredThe selector to limit which lights are controlled.Body ParamspowerstringThe power state you want to set on the selector. on or offcolorstringThe color to set the light to.brightnessdoubleThe brightness level from 0.0 to 1.0. Overrides any brightness set in color (if any).durationdoubleDefaults to 1How long in seconds you want the power action to take. Range: 0.0 – 3155760000.0 (100 years)infrareddoubleThe maximum brightness of the infrared channel from 0.0 to 1.0.fastbooleanDefaults to falseExecute the query fast, without initial state checks and wait for no results.truefalseHeadersacceptstringenumDefaults to application/jsonGenerated from available response content typesapplication/jsontext/plainAllowed:application/jsontext/plainResponses 202202 2XX2XXUpdated 10 months ago