flowsprenger / RxLifx-Swift

RxSwift based SDK for the LIFX Lan protocol
MIT License
10 stars 5 forks source link

Don't poll bulbs for state they don't support #9

Closed lightbow closed 6 years ago

lightbow commented 6 years ago

For example, models that don't support infrared or multi-zone shouldn't be polled for those properties, to reduce network traffic.

flowsprenger commented 6 years ago

Agreed, we could potentially just bundle this file: https://github.com/LIFX/products/blob/master/products.json and base polls on the information contained there.