Bugfix + empty -> low

git-svn-id: svn://svn.code.sf.net/p/fhem/code/trunk@1561 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig
2012-05-13 07:01:32 +00:00
parent 10b98b619b
commit 694816b511

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/);
}