Explore Plans
Mobile menu Close menu
HELLA ONYXHELLA ONYX

Control lights

This action will turn the selected devices on/off or set the defined brightness.

Developer info

API endpoint slug
hella_onyx.control_lights
Filter code method
HellaOnyx.controlLights.skip(string?: reason)
Runtime method
runAction("hella_onyx.control_lights", {})

Action fields

Device or group Dropdown list

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

Action Dropdown list

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)

Brightness Dropdown list

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)