michielpost / Q42.HueApi

C# helper library to talk to the Philips Hue bridge
MIT License
412 stars 114 forks source link

Add XY params for SetState and SetColor in streaming api. #205

Closed d8ahazard closed 4 years ago

d8ahazard commented 4 years ago

Just convert the XY back to RGB using the desired gamut, make the converter public, and bingo was his name-o.

michielpost commented 4 years ago

Thanks for the PR. I tried to keep HueColorConverters internal and expose everything using extension methods. Too bad that's not possible in this case because it would create a circular dependency.