New services
Explore Plans
Mobile menu Close menu
Smart LifeSmart Life

Set light brightness

This action will set your light to a specified brightness.

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 your light to a specified brightness.
API endpoint slug
smartlife.set_brightness
Filter code method
Smartlife.setBrightness.skip(string?: reason)
Runtime method
runAction("smartlife.set_brightness", {})

Action fields

Which device Dropdown list

Label
Which device/group?
Helper text
Not all Smart Life 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
Selecting "Yes" will turn the light on if it's off.
Slug
turn_on_first
Required
true
Can have default value
true
Filter code method
Smartlife.setBrightness.setTurnOnFirst(string: turnOnFirst)

Light brightness Dropdown list

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