mclarkk / lifxlan

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

Add LIFX Beam to `lights` list in products.py, casting it as a `MultiZoneLight` #150

Closed samclane closed 3 years ago

samclane commented 4 years ago

Currently, whenever a LIFX Beam is a part of a Group, it's cast as a generic Device, limiting its function. In products.py, its index is excluded from lights, so it's never cast correctly.

I tried testing this by adding the index to the lights list at Runtime in a REPL, which caused it to be discovered as a MultiZoneLight next time I ran LifxLAN().discover

mclarkk commented 3 years ago

Thank you for troubleshooting this! This was just fixed as a part of a large update of products.py in #153.