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:
@@ -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/^(..)(..)(..)/) {
|
||||
|
||||
Reference in New Issue
Block a user