mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-02-01 01:09:47 +00:00
14_CUL_WS.pm: brightness fix (by Dirk)
git-svn-id: https://svn.fhem.de/fhem/trunk@8497 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
63ffa3f8a8
commit
c0177131e6
@ -199,7 +199,7 @@ CUL_WS_Parse($$)
|
||||
|
||||
if($typbyte == 5 && int(@a) > 5) { # brightness
|
||||
my $fakt = 1;
|
||||
my $rawfakt = ($a[5])+0;
|
||||
my $rawfakt = ($a[6])+0;
|
||||
if($rawfakt == 1) { $fakt = 10; }
|
||||
if($rawfakt == 2) { $fakt = 100; }
|
||||
if($rawfakt == 3) { $fakt = 1000; }
|
||||
|
Loading…
Reference in New Issue
Block a user