-
This makes the state of a light consistant without needing to refresh more often.
-
Bounds to closest representable color of the gamut.
-
Does not yet have a way to create LightStates for Scenes.
-
Co-authored-by: Moritz Wirger <lj.moritorii@web.de>
-
Needed because setScene is not available in StateTransaction.
-
Values already set in the state can still be outdated, so there is a manual override for keeping them.
-
The complete state of the hue bridge should only be queried as little as possible. Now it is only done once, after that only the requested parts are refreshed.
-
Setting all delays to zero significantly speeds up test times.
-
Reduces duplication of HueCommandAPI in Group, Hue, HueLight and Schedule.
-
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.