bundles/infobeamer-monitor: sort by device id
This commit is contained in:
parent
9ba35569d6
commit
4124e6788f
1 changed files with 1 additions and 1 deletions
|
@ -93,7 +93,7 @@ while True:
|
||||||
)
|
)
|
||||||
else:
|
else:
|
||||||
new_state = {}
|
new_state = {}
|
||||||
for device in ib_state:
|
for device in sorted(ib_state, key=lambda x: x["id"]):
|
||||||
did = str(device["id"])
|
did = str(device["id"])
|
||||||
|
|
||||||
if did in new_state:
|
if did in new_state:
|
||||||
|
|
Loading…
Reference in a new issue