This action will set the light to specified color.
- API endpoint slug
- smartlife.light_color
- Filter code method
- Smartlife.lightColor.skip(string?: reason)
- Runtime method
- runAction("smartlife.light_color", {})
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
- 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
- Smartlife.lightColor.setTurnOnFirst(string: turnOnFirst)
- Label
- Color
- Slug
- light_color
- Required
- true
- Can have default value
- true
- Filter code method
- Smartlife.lightColor.setLightColor(string: lightColor)
- Label
- Brightness
- Slug
- light_brightness
- Required
- true
- Can have default value
- true
- Filter code method
- Smartlife.lightColor.setLightBrightness(string: lightBrightness)