compatibility fix
git-svn-id: svn://svn.code.sf.net/p/fhem/code/trunk@6524 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
@@ -236,6 +236,7 @@ HUEDevice_SetParam($$@)
|
||||
if( $value > 100 ) { $value = 100; }
|
||||
$cmd = 'pct';
|
||||
} elsif( !defined($value) && $cmd =~ m/^(\d+)/) {
|
||||
$value2 = $value;
|
||||
$value = $1;
|
||||
$value = 254 if( $value > 254 );
|
||||
$cmd = 'bri';
|
||||
|
||||
Reference in New Issue
Block a user