A beginner's guide
Explore Plans
Mobile menu Close menu
Times GateTimes Gate

Switch ambient light effect

This action will choose a ambient light effect

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 choose a ambient light effect
API endpoint slug
TimesGate.SwitchAmbientLightAction
Filter code method
TimesGate.switchAmbientLightAction.skip(string?: reason)
Runtime method
runAction("TimesGate.SwitchAmbientLightAction", {})

Action fields

Ambient index Dropdown list

Label
ambient_index
Helper text
You can select a ambient effect, but make sure it's connected to the device.
Slug
ambient_index
Required
true
Can have default value
true
Filter code method
TimesGate.switchAmbientLightAction.setAmbientIndex(string: ambientIndex)