mclarkk / lifxlan

Python library for accessing LIFX devices locally using the official LIFX LAN protocol.
MIT License
507 stars 116 forks source link

Fix for #146; obtain a random number #148

Closed ps-jay closed 4 years ago

ps-jay commented 4 years ago

This essentially reverts https://github.com/mclarkk/lifxlan/commit/c5ed8f4ae6248fbddf0c3be0f201857da399c329 so it might not be the solution that would be accepted by maintainer.

An alternative would be to allow setting of the source ID during construction of the LifxLAN object.

mclarkk commented 4 years ago

I don't think it should affect anything negatively, and it'll fix #146! Thanks!