Explore Plans
Mobile menu Close menu
Hager IoTHager IoT

Set color

This Action will change the color of your lights. NOTE: Accepts color names and CSS hex color values. Defaults to white if no color match is found.

Developer info

API endpoint slug
hager_iot.color
Filter code method
HagerIot.color.skip(string?: reason)
Runtime method
runAction("hager_iot.color", {})

Action fields

Cid Dropdown list

Label
Which device?
Slug
cid
Required
true
Can have default value
false

Color Text input > Other

Label
Color value or name
Helper text
Accepts color names or CSS hex codes
Slug
color
Required
true
Can have default value
true
Filter code method
HagerIot.color.setColor(string: color)