Group Location
Explore Plans
Mobile menu Close menu
CololightCololight

Toggle lights on/off

This Action will turn on, turn off or toggle 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
API endpoint slug
cololight.on_off
Filter code method
Cololight.onOff.skip(string?: reason)
Runtime method
runAction("cololight.on_off", {})

Action fields

Device ID Dropdown list

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

Value Dropdown list

Label
On, off or toggle?
Slug
value
Required
true
Can have default value
true
Filter code method
Cololight.onOff.setValue(string: value)