Explore Plans
Mobile menu Close menu
Smart LifeSmart Life

Set light brightness

This action will set your light to a specified brightness.

Developer info

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)