Explore Plans
Mobile menu Close menu
LIFXLIFX

Turn lights on

This Action will turn your lights on.

Developer info

API endpoint slug
lifx.turn_on
Filter code method
Lifx.turnOn.skip(string?: reason)
Runtime method
runAction("lifx.turn_on", {})

Action fields

Selector Dropdown list

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

Fade in duration Dropdown list

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

Color Dropdown list

Label
Color
Slug
color
Required
false
Can have default value
false

Brightness Dropdown list

Label
Brightness
Slug
brightness
Required
false
Can have default value
false

Advanced options Text input > Other

Label
Advanced options
Helper text
Want an option that's not available? Specify them here. Example: "color: #ff0000; brightness: 0.3; fade_in_duration: 12" for red at 30% brightness, 12 second fade in. More info
Slug
advanced_options
Required
false
Can have default value
true
Filter code method
Lifx.turnOn.setAdvancedOptions(string: advancedOptions)