mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-03-03 16:56:54 +00:00
Bugfix + empty -> low
git-svn-id: https://svn.fhem.de/fhem/trunk@1561 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
6b74bf1898
commit
2386112096
@ -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/);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user