Hey, thanks for the work in your library. I went through about a dozen other C# Lifx libraries that were all garbage - finally found yours!
I've come across what I believe is a bug. When the light state is polled, the hue value is lost. In LightStatus.cs, the hue value will be a large number - say for example 32000. When the HsvColor gets set, there's a statement _hue = Math.Min(360d, Math.Max(hue, 0)); which essentially says that it can't be higher than 360. The result is that the hue is always 360.
Hey, thanks for the work in your library. I went through about a dozen other C# Lifx libraries that were all garbage - finally found yours!
I've come across what I believe is a bug. When the light state is polled, the hue value is lost. In LightStatus.cs, the hue value will be a large number - say for example 32000. When the HsvColor gets set, there's a statement
_hue = Math.Min(360d, Math.Max(hue, 0));which essentially says that it can't be higher than 360. The result is that the hue is always 360.