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 make your lights quickly blink the color of your choice.
- API endpoint slug
- lifx.blink
- Filter code method
- Lifx.blink.skip(string?: reason)
- Runtime method
- runAction("lifx.blink", {})
Action fields
Selector Dropdown list
- Label
- Which lights?
- Slug
- selector
- 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
Number of blinks Dropdown list
- Label
- Number of blinks
- Slug
- number_of_blinks
- Required
- true
- Can have default value
- true
- Filter code method
- Lifx.blink.setNumberOfBlinks(string: numberOfBlinks)
Blink if off Dropdown list
- Label
- Turn on first?
- Helper text
- "Yes" will make your lights blink, even when they are turned off in the app.
- Slug
- blink_if_off
- Required
- true
- Can have default value
- true
- Filter code method
- Lifx.blink.setBlinkIfOff(string: blinkIfOff)
Advanced options Text input > Other
- Label
- Advanced options
- Helper text
- Want an option that's not in the dropdown? Specify them here. Example: "color: green saturation:0.2; number_of_blinks: 6" for 6 pale green blinks. More info
- Slug
- advanced_options
- Required
- false
- Can have default value
- true
- Filter code method
- Lifx.blink.setAdvancedOptions(string: advancedOptions)