-
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.
-
It is not clear from the documentation that the error code is a string, so both string and integer are accepted now.
-
Add sections to documentation of large classes.