-
Change reference to value return types.
-
All resources on the bridge internally use the same json state. Advantages: Different resources are always consistent. Disadvantages: Different objects are no longer thread safe, changes are not transparent.
-
- remove redundant Hue prefix - change Hue class to Bridge class to make usage clearer - rename APIConfig to LibConfig to clarify that the configuration is for the library, not for the Hue API that is accessed
-
The color type is determined using the capabilities field on the light state. If that is not present, the hardcoded types are used.
-
The only additional information which is needed is the gamut space for color lights.
-
Reduces complexity of the Hue class and reduces number of parameters on factory function.
-
Add sections to documentation of large classes.