mclarkk / lifxlan

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

Update LIFX Products #153

Closed autolog closed 3 years ago

autolog commented 3 years ago

Updated the product definitions in line with the latest definition at https://github.com/LIFX/products/blob/master/products.json

LIFX have renamed some of their products and this is reflected in the new definitions.

For potential future use, add in fields: matrix, hev, relays, buttons.

For potential future use, add in a variable switch_products to complement variable light_products.

This is the only file I have changed, I haven't done any other changes to the library to use the new fields.

I have updated these product definitions for use in my Indigo LIFX Controller plugin and thought I should provide the update to the original library. :)

mclarkk commented 3 years ago

This is fantastic, thank you!