Can you get more properties at a time with Color Switch command class? #5169
-
Right now if I want to get my led bulb's colors it seems the only way to do that is to use the Color Switch command class's get() function. In the documentation it seemed like I can only get it one color at a time with the get function since it needs a colorComponent enum value and it doesn't seem to accept objects for a "getBulk (or something like that)". Is this the best/fastest way if I want to poll everything from my Led bulb, or is there a better way that I don't seem to be aware of? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
The Color Switch CC doesn't support a method to bulk Get method, it's one at a time. If you're using the JS API directly, I think you can use the |
Beta Was this translation helpful? Give feedback.
The Color Switch CC doesn't support a method to bulk Get method, it's one at a time. If you're using the JS API directly, I think you can use the
ZWaveNode.refreshCCValues
method to get all colors in a single call, it just loops over all of the supported colors and does individual Gets.