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:
parent
dae97df3da
commit
f611039dcc
@ -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/^(..)(..)(..)/) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user