Group Location
Explore Plans
Mobile menu Close menu
LytmiLytmi

Set light scene

This action will set the light to specified scene.

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 scene.
API endpoint slug
Lytmi.light_scene
Filter code method
Lytmi.lightScene.skip(string?: reason)
Runtime method
runAction("Lytmi.light_scene", {})

Action fields

Which device Dropdown list

Label
Which device/group?
Helper text
Not all Lytmi devices are supported by this service. Refer to the device manufacturer for further information.
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
Lytmi.lightScene.setTurnOnFirst(string: turnOnFirst)

Light scene Dropdown list

Label
Light scene?
Slug
light_scene
Required
true
Can have default value
true
Filter code method
Lytmi.lightScene.setLightScene(string: lightScene)