bundles/infobeamer-monitor: fix maintenance warnings
This commit is contained in:
parent
10b1fb8a5b
commit
e8983829ed
1 changed files with 2 additions and 3 deletions
|
@ -140,13 +140,12 @@ while True:
|
||||||
if device["is_online"]:
|
if device["is_online"]:
|
||||||
if device["maintenance"]:
|
if device["maintenance"]:
|
||||||
mqtt_out(
|
mqtt_out(
|
||||||
"maintenance required: {}".join(
|
"maintenance required: {}".format(' '.join(
|
||||||
sorted(device["maintenance"])
|
sorted(device["maintenance"])
|
||||||
),
|
)),
|
||||||
level="WARN",
|
level="WARN",
|
||||||
device=device,
|
device=device,
|
||||||
)
|
)
|
||||||
must_dump_state = True
|
|
||||||
|
|
||||||
if (
|
if (
|
||||||
device["is_synced"] != state[did]["is_synced"]
|
device["is_synced"] != state[did]["is_synced"]
|
||||||
|
|
Loading…
Reference in a new issue