2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-03-04 05:16:45 +00:00

31_HUEDevice.pm: fixed set rgb 000000

git-svn-id: https://svn.fhem.de/fhem/trunk@7082 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
justme-1968 2014-11-28 16:59:29 +00:00
parent dae97df3da
commit f611039dcc

View File

@ -348,6 +348,8 @@ HUEDevice_SetParam($$@)
$obj->{'on'} = JSON::true;
$obj->{'xy'} = [0+$x, 0+$y];
$obj->{'bri'} = int(254*$bri);
} else {
$obj->{'on'} = JSON::false;
}
}
} elsif( $cmd eq "hsv" && $value =~ m/^(..)(..)(..)/) {