Morph Effect

Path Params
string
required

The selector to limit which devices will run the effect.

Body Params
double
Defaults to 5

This controls how quickly the morph runs. It is measured in seconds. A lower number means the animation is faster

float
Defaults to null

How long the animation lasts for in seconds. Not specifying a duration makes the animation never stop. Specifying 0 makes the animation stop. Note that there is a known bug where the tile remains in the animation once it has completed if duration is nonzero.

palette
array of strings
Defaults to 7 colours across the spectrum

You can control the colors in the animation by specifying a list of color specifiers. For example ["red", "hue:100 saturation:1"]. See https://api.developer.lifx.com/docs/colors

palette
boolean
Defaults to true

Switch any selected device that is off to on before performing the effect.

boolean
Defaults to false

Execute the query fast, without initial state checks and wait for no results.

Response

Language
Credentials
Header
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json