Explore Plans
Mobile menu Close menu
CelebrightCelebright

Set Color

This action will set all the lights of a device to a solid color

Developer info

API endpoint slug
celebright.set_color
Filter code method
Celebright.setColor.skip(string?: reason)
Runtime method
runAction("celebright.set_color", {})

Action fields

Device Dropdown list

Label
Which Device?
Helper text
The name of the device to control
Slug
device
Required
true
Can have default value
false

Color Text input > Other

Label
What color?
Helper text
a color in 6 digit hex format, such as "xxyyzz" where xx is the red, yy is green and zz is blue
Slug
color
Required
true
Can have default value
true
Filter code method
Celebright.setColor.setColor(string: color)

Brightness Text input > Other

Label
Brightness
Helper text
(optional) Brightness value from 1-255 (higher is brighter)
Slug
brightness
Required
false
Can have default value
true
Filter code method
Celebright.setColor.setBrightness(string: brightness)

Timer Text input > Other

Label
Timer
Helper text
(optional) time (in minutes) for the display to last (default 240, max 1439)
Slug
timer
Required
false
Can have default value
true
Filter code method
Celebright.setColor.setTimer(string: timer)