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 on.
- 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
- true
- Can have default value
- false
Brightness Dropdown list
- Label
- Brightness
- Slug
- brightness
- Required
- true
- 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)