Set state
documentedSet the color, brightness, and other state parameters for the specified light(s).
PUT /v1/lights/{selector}/stateLightsno implementation yet0 runsInput
selector*
Light selector
all
power
Power
on|off
color
Color
red | #FF0000 | rgb(255,0,0)
brightness
Brightness
0-1
duration
Duration (seconds)
seconds
Calls LIFX as you (your API key is your account); keychains.dev holds the credentials.