New services
Explore Plans
Mobile menu Close menu
LIFXLIFX

Turn lights off

This Action will turn your lights off.

About this action

Triggers, queries, and actions are the building blocks of Applets. Triggers tell an Applet to start, queries ask a question, and actions are its end result.

Developer info

Description
This Action will turn your lights off.
API endpoint slug
lifx.turn_off
Filter code method
Lifx.turnOff.skip(string?: reason)
Runtime method
runAction("lifx.turn_off", {})

Action fields

Selector Dropdown list

Label
Which lights?
Slug
selector
Required
true
Can have default value
false

Fade out duration Dropdown list

Label
Fade out duration
Helper text
How long should it take for the lights to fade out.
Slug
fade_out_duration
Required
true
Can have default value
false

Advanced options Text input > Other

Label
Advanced options
Helper text
Want a custom fade out duration? Set it here. Example: "fade_out_duration: 7200" for 2 hours. More info
Slug
advanced_options
Required
false
Can have default value
true
Filter code method
Lifx.turnOff.setAdvancedOptions(string: advancedOptions)