mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-01-31 18:59:33 +00:00
revert wa-od level calculation
git-svn-id: https://svn.fhem.de/fhem/trunk@5973 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
6a54d07f7f
commit
50bebc2908
@ -1241,7 +1241,7 @@ sub CUL_HM_Parse($$) {#########################################################
|
||||
my $err = hex(substr($p,6,2));
|
||||
if ($lvlStr{md}{$md}){$lvl = $lvlStr{md}{$md}{$lvl}}
|
||||
elsif ($lvlStr{st}{$st}){$lvl = $lvlStr{st}{$st}{$lvl} }
|
||||
else {$lvl = hex($lvl)}
|
||||
else {$lvl = hex($lvl)/2}
|
||||
|
||||
push @evtEt,[$shash,1,"level:$lvl"] if($md eq "HM-Sen-Wa-Od");
|
||||
push @evtEt,[$shash,1,"state:$lvl"];
|
||||
|
Loading…
Reference in New Issue
Block a user