Skip to content

Commit 12a79cd

Browse files
authored
Move ezspVersion key to correct place for Z2M (#701)
* Move `ezspVersion` key to correct place for Z2M * Update tests
1 parent e2fbda7 commit 12a79cd

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

bellows/zigbee/application.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -409,9 +409,9 @@ async def load_network_info(self, *, load_devices=False) -> None:
409409
"flow_control": (
410410
flow_control.name.lower() if flow_control is not None else None
411411
),
412-
# Z2M will not load EZSP backups without this internal key
413-
"ezspVersion": ezsp.ezsp_version,
414412
},
413+
# Z2M will not load EZSP backups without this internal key
414+
"ezspVersion": ezsp.ezsp_version,
415415
},
416416
)
417417

tests/test_application.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2089,8 +2089,8 @@ def zigpy_backup() -> zigpy.backups.NetworkBackup:
20892089
"can_burn_userdata_custom_eui64": True,
20902090
"can_rewrite_custom_eui64": True,
20912091
"chip_info": None,
2092-
"ezspVersion": 8,
2093-
}
2092+
},
2093+
"ezspVersion": 8,
20942094
},
20952095
),
20962096
)

0 commit comments

Comments
 (0)