color working

This commit is contained in:
Yorick Rommers
2015-12-01 12:44:25 +01:00
parent f615d01b82
commit 5d6dd99b97
2 changed files with 2 additions and 1 deletions
+1 -1
View File
@@ -44,7 +44,7 @@ namespace HueUWP
{
if(l.IsOn)
{
var json = await nwh.SetLightInfo(l.ID, $"{{\"bri\": {l.Brightness},\"hue\": {l.Hue},\"sat\": {l.Saturation}}}");
var json = await nwh.SetLightInfo(l.ID, $"{{\"bri\": {l.Brightness},\"hue\": {l.Hue*255},\"sat\": {l.Saturation}}}");
Debug.WriteLine(json);
}