Join IFTTT for free
Explore Plans Developers
Mobile menu Close menu
LIFXLIFX

Change color of lights

This Action will change the color of your lights.

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 change the color of your lights.
API endpoint slug
lifx.color
Filter code method
Lifx.color.skip(string?: reason)
Runtime method
runAction("lifx.color", {})

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
Color if off Dropdown list
Label
Turn on first?
Helper text
"Yes" will make your lights turn on to the color, even when they are turned off in the app.
Slug
color_if_off
Required
true
Can have default value
true
Filter code method
Lifx.color.setColorIfOff(string: colorIfOff)
Transition duration Dropdown list
Label
Transition duration
Helper text
How long should it take for the lights to transition between colors.
Slug
transition_duration
Required
true
Can have default value
false
Advanced options Text input > Other
Label
Advanced options
Helper text
Want an option that's not in the dropdown? Specify them here. Example: "color: #ff0000; brightness: 0.3; duration: 12" for red at 30% brightness, 12 second fade. More info
Slug
advanced_options
Required
false
Can have default value
true
Filter code method
Lifx.color.setAdvancedOptions(string: advancedOptions)