Closed soldag closed 7 years ago
File "/envs/hass/lib/python3.5/site-packages/limitlessled/bridge.py", line 182, in _consume
self._send_raw(command.select_command)
File "/envs/hass/lib/python3.5/site-packages/limitlessled/bridge.py", line 195, in _send_raw
self._socket.send(bytearray(command))
TypeError: 'Command' object is not iterable
After trying to set brightness on a legacy white bulb.
Btw, the legacy RGBW works great now with the latest commits.
Good to hear that the RGBW bulbs work now :) I made a fix for the issue you mentioned.
That change prevents the error, but the brightness
and temperature
don't work. I will do some debugging when I get a chance, hopefully tomorrow.
I pushed a commit, which should fix this issue.
Indeed it does. Awesome!
Merged.
As already discussed in #7, this adds support for wifi bridges v6 and RGBWW bulbs. While implementing I also faced some minor issues (especially with the transition logic), which I fixed in general for all bulb types. I could only test with bridge v6 and RGBWW bulbs, so I cannot guarantee that it works for older bridges or other led types. Therefore, to ensure I didn't break anything, somebody else has to test this. There were also some guys which confirmed that this fork is working in #7 ;)