Bump python-otbr-api to 2.1.0 (#93790)
* Bump python-otbr-api to 2.1.0 * Fix tests
This commit is contained in:
parent
4596ff0ce5
commit
16d8c8d4d5
11 changed files with 41 additions and 51 deletions
|
@ -148,7 +148,8 @@ async def async_get_config_entry_diagnostics(
|
|||
"unexpected_routers": set(),
|
||||
},
|
||||
)
|
||||
if mlp := record.dataset.get(MeshcopTLVType.MESHLOCALPREFIX):
|
||||
if mlp_item := record.dataset.get(MeshcopTLVType.MESHLOCALPREFIX):
|
||||
mlp = str(mlp_item)
|
||||
network["prefixes"].add(f"{mlp[0:4]}:{mlp[4:8]}:{mlp[8:12]}:{mlp[12:16]}")
|
||||
|
||||
# Find all routes currently act that might be thread related, so we can match them to
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue