2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-04-12 02:39:57 +00:00

CUL_HM:improve batreport RT

git-svn-id: https://svn.fhem.de/fhem/trunk@10114 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
martinp876 2015-12-06 13:46:31 +00:00
parent 8c71856d81
commit 5ab744f5cd

View File

@ -1499,7 +1499,8 @@ sub CUL_HM_Parse($$) {#########################################################
push @evtEt,[$mh{devH},1,"measured-temp:$actTemp"];
push @evtEt,[$mh{devH},1,"batteryLevel:$bat"];
push @evtEt,[$mh{devH},1,"actuator:$vp"];
$lBat = "low" if ($err == 6); #
if ($err == 6){ $lBat = "low";}
elsif($err == 0){ $lBat = "ok";}# we cannot determin bat if any other state!
#weather Chan
my $wHash = $modules{CUL_HM}{defptr}{$mh{src}."01"};