Properties not available to $device


#1

1) Give a description of the problem
I want to loop through a list of Hue bulbs, query the colormode parameter and change the color temperature if the colormode parameter is “ct”

2) What is the expected behavior?
$device.colormode would exist

3) What is happening/not happening?
$device.colormode doesn’t exist, so I unrolled the loop into a long series of if statements targeting each bulb individually. Is that what needs to happen, or is there a better way to do this?

**4) Post a Green Snapshot of the piston!


#2

Try [$device : colormode] in an expression window.


#3

That worked! Thank you for your help!