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.
- API endpoint slug
- hager_iot.color
- Filter code method
- HagerIot.color.skip(string?: reason)
- Runtime method
- runAction("hager_iot.color", {})
Action fields
- Label
- Which device?
- Slug
- cid
- Required
- true
- Can have default value
- false
- 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)