From e88702b0bdafbd833b8e705579377500a8e27185 Mon Sep 17 00:00:00 2001 From: Stefan Agner Date: Thu, 14 Dec 2023 09:39:17 +0100 Subject: [PATCH] Use consistent casing for newly added parameter --- src/controller/python/chip/ChipDeviceCtrl.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/controller/python/chip/ChipDeviceCtrl.py b/src/controller/python/chip/ChipDeviceCtrl.py index e67d3759f8bac8..72a1f7aaa681fd 100644 --- a/src/controller/python/chip/ChipDeviceCtrl.py +++ b/src/controller/python/chip/ChipDeviceCtrl.py @@ -1893,7 +1893,7 @@ def CommissionOnNetwork(self, nodeId: int, setupPinCode: int, return PyChipError(CHIP_ERROR_TIMEOUT) return self._ChipStack.commissioningEventRes - def CommissionWithCode(self, setupPayload: str, nodeid: int, network_only: bool = False) -> PyChipError: + def CommissionWithCode(self, setupPayload: str, nodeid: int, networkOnly: bool = False) -> PyChipError: ''' Commission with the given nodeid from the setupPayload. setupPayload may be a QR or manual code. ''' @@ -1909,7 +1909,7 @@ def CommissionWithCode(self, setupPayload: str, nodeid: int, network_only: bool self._ChipStack.CallAsync( lambda: self._dmLib.pychip_DeviceController_ConnectWithCode( - self.devCtrl, setupPayload, nodeid, network_only) + self.devCtrl, setupPayload, nodeid, networkOnly) ) if not self._ChipStack.commissioningCompleteEvent.isSet(): # Error 50 is a timeout