mirror of
https://github.com/alexreinert/homematic_check_mk.git
synced 2023-10-10 11:37:02 +00:00
Update homematic
Make Homematic IP Low Battery Messages appear correctly
This commit is contained in:
parent
714fbae9e8
commit
15da3d82c2
@ -31,7 +31,7 @@ def check_homematic(item, params, parsed):
|
|||||||
if messages is not None:
|
if messages is not None:
|
||||||
for msg in messages:
|
for msg in messages:
|
||||||
if item == 'Low Battery devices':
|
if item == 'Low Battery devices':
|
||||||
if msg[1] == 'LOWBAT':
|
if msg[1] in [ 'LOWBAT', 'LOW_BAT' ]:
|
||||||
state = 2
|
state = 2
|
||||||
devices.append(msg[0])
|
devices.append(msg[0])
|
||||||
elif item == 'Unreachable devices':
|
elif item == 'Unreachable devices':
|
||||||
|
Loading…
x
Reference in New Issue
Block a user