revert wa-od level calculation

git-svn-id: svn://svn.code.sf.net/p/fhem/code/trunk@5973 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
martinp876
2014-05-26 09:41:22 +00:00
parent b23d657487
commit 12f1f15798

View File

@@ -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"];