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["maintenance"]:
|
||||
mqtt_out(
|
||||
"maintenance required: {}".join(
|
||||
"maintenance required: {}".format(' '.join(
|
||||
sorted(device["maintenance"])
|
||||
),
|
||||
)),
|
||||
level="WARN",
|
||||
device=device,
|
||||
)
|
||||
must_dump_state = True
|
||||
|
||||
if (
|
||||
device["is_synced"] != state[did]["is_synced"]
|
||||
|
|
Loading…
Reference in a new issue