File tree Expand file tree Collapse file tree 1 file changed +2
-9
lines changed Expand file tree Collapse file tree 1 file changed +2
-9
lines changed Original file line number Diff line number Diff line change @@ -300,23 +300,16 @@ async def startup(self, auto_form=False):
300
300
)
301
301
302
302
# Start commissioning and wait until it's done
303
- comm_notification = await self ._znp .request_callback_rsp (
303
+ await self ._znp .request_callback_rsp (
304
304
request = c .APPConfigCommands .BDBStartCommissioning .Req (
305
305
Mode = c .app_config .BDBCommissioningMode .NetworkFormation
306
306
),
307
307
RspStatus = t .Status .Success ,
308
308
callback = c .APPConfigCommands .BDBCommissioningNotification .Callback (
309
- partial = True ,
310
- RemainingModes = c .app_config .BDBRemainingCommissioningModes .NONE ,
309
+ partial = True , Status = c .app_config .BDBCommissioningStatus .Success ,
311
310
),
312
311
)
313
312
314
- # XXX: Commissioning fails for me yet I experience no issues
315
- if comm_notification .Status != c .app_config .BDBCommissioningStatus .Success :
316
- LOGGER .warning (
317
- "BDB commissioning did not succeed: %s" , comm_notification .Status
318
- )
319
-
320
313
async def update_network (
321
314
self ,
322
315
* ,
You can’t perform that action at this time.
0 commit comments