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
- 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
- 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)
- Label
- Brightness
- Slug
- light_brightness
- Required
- true
- Can have default value
- true
- Filter code method
- Smartlife.setBrightness.setLightBrightness(string: lightBrightness)