Bugfix + empty -> low

git-svn-id: https://fhem.svn.sourceforge.net/svnroot/fhem/trunk/fhem@1561 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig
2012-05-13 07:01:32 +00:00
parent d919eb228a
commit 3463d915f9

View File

@@ -686,7 +686,7 @@ CUL_HM_Parse($$)
push @event, "alive:yes";
$chn = $b34;
if($b78) {
push(@event, "battery:". (hex($b78) & 0x80) ? "empty" : "ok");
push(@event, "battery:". ((hex($b78) & 0x80) ? "low" : "ok"));
$addState = " sabotage" if($b78 =~ m/^.E/);
}