Toggle power
documentedToggle the power state of the specified light(s).
POST /v1/lights/{selector}/toggleLightsno implementation yet0 runsInput
selector*
Light selector (e.g., all, label Lamp, id:abcdef)
all
duration
Transition duration in seconds (optional)
2.5
Calls LIFX as you (your API key is your account); keychains.dev holds the credentials.