This action will turn the selected devices on/off or set the defined brightness.
- API endpoint slug
- hella_onyx.control_lights
- Filter code method
- HellaOnyx.controlLights.skip(string?: reason)
- Runtime method
- runAction("hella_onyx.control_lights", {})
Action fields
- Label
- Device or group with lights
- Helper text
- Which device or group to control
- Slug
- device_or_group
- Required
- true
- Can have default value
- false
- Label
- Action
- Helper text
- Action of the light to execute
- Slug
- action
- Required
- true
- Can have default value
- true
- Filter code method
- HellaOnyx.controlLights.setAction(string: action)
- Label
- Brightness
- Helper text
- Is only executed if the 'Action' field is set to 'Brightness'
- Slug
- brightness
- Required
- false
- Can have default value
- true
- Filter code method
- HellaOnyx.controlLights.setBrightness(string: brightness)