Script generator Applet
Explore Plans
Mobile menu Close menu
Brilliant SmartBrilliant Smart

Set light color

This action will set the light to specified color.

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 set the light to specified color.
API endpoint slug
brilliant_smart.light_color
Filter code method
BrilliantSmart.lightColor.skip(string?: reason)
Runtime method
runAction("brilliant_smart.light_color", {})

Action fields

Which device Dropdown list

Label
Which device/group?
Slug
which_device
Required
true
Can have default value
false

Turn on first Dropdown list

Label
Turn on first?
Helper text
Select "Yes" will turn the light on even if it's off.
Slug
turn_on_first
Required
true
Can have default value
true
Filter code method
BrilliantSmart.lightColor.setTurnOnFirst(string: turnOnFirst)

Light color Dropdown list

Label
Color
Slug
light_color
Required
true
Can have default value
true
Filter code method
BrilliantSmart.lightColor.setLightColor(string: lightColor)

Light brightness Dropdown list

Label
Brightness
Slug
light_brightness
Required
true
Can have default value
true
Filter code method
BrilliantSmart.lightColor.setLightBrightness(string: lightBrightness)