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:
@@ -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/);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user