A beginner's guide
Explore Plans
Mobile menu Close menu
CololightCololight

Set color

This Action will change your lights to a 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 change your lights to a specified color.
API endpoint slug
cololight.setcolor
Filter code method
Cololight.setcolor.skip(string?: reason)
Runtime method
runAction("cololight.setcolor", {})

Action fields

Device ID Dropdown list

Label
Which lights?
Slug
deviceId
Required
true
Can have default value
false

Value Text input > Other

Label
Which color?
Helper text
Set the color in hex (00FF00) or by name in Cololight App. The hash (#) is not required for hex value input.
Slug
value
Required
true
Can have default value
true
Filter code method
Cololight.setcolor.setValue(string: value)