mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-03-03 16:56:54 +00:00
color bug fix
git-svn-id: https://svn.fhem.de/fhem/trunk@2898 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
969e3c6a65
commit
d156bb674d
@ -130,7 +130,7 @@ HUEDevice_Set($@)
|
||||
my ($cmd, $value, $value2, @a) = @aa;
|
||||
|
||||
if( $cmd eq "color" ) {
|
||||
$value = int(100000/$value);
|
||||
$value = int(1000000/$value);
|
||||
$cmd = 'ct';
|
||||
} elsif( $cmd eq "toggle" ) {
|
||||
$cmd = ReadingsVal($name,"state","on") eq "off" ? "on" :"off";
|
||||
|
Loading…
x
Reference in New Issue
Block a user