Explore Plans
Mobile menu Close menu
Powered by VivaPowered by Viva

Change color of bulb

This action will change the color of a bulb given a name.

Developer info

API endpoint slug
viva.change_color
Filter code method
Viva.changeColor.skip(string?: reason)
Runtime method
runAction("viva.change_color", {})

Action fields

Device address Dropdown list

Label
Which device?
Helper text
The name of the bulb to change color on
Slug
device_address
Required
true
Can have default value
false

Which color Dropdown list

Label
Which color?
Slug
which_color
Required
true
Can have default value
true
Filter code method
Viva.changeColor.setWhichColor(string: whichColor)