Closed kjlisby closed 4 years ago
Nice!
As soon as pytradfri is updated, and a version that supports this is available with pip, I´ll merge this!
Regards, M
pytradfri is updated now on pypi
There's no check to see if the group (or at least) one of the bulbs in the group supports RGB or just White Balance. This breaks the consistency with the rest, as only devices that supports RGB gets a RGB-selector, devices that support only WB gets the WB-selector.
I'm currently planning to obsolete this version of the plugin, in favor of a plugin that uses aiocoap instead of depending on coap-client, so I'm not sure if it's worth the hassle to implement this kind of checking in this version. I'll accept this pull-request as is, and thanks to your contribution to pytradfri, it's possible to add this kind of checking in the new version!
I have issued a corresponding pull request to pytradfri.