We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ed72805 commit 3fb8747Copy full SHA for 3fb8747
plugwise_usb/network/registry.py
@@ -249,9 +249,9 @@ async def register_node(self, mac: str) -> int:
249
raise NodeError(f"MAC '{mac}' invalid")
250
251
request = NodeAddRequest(self._send_to_controller, bytes(mac, UTF8), True)
252
- response = await request.send()
253
- if response is None or response.ack_id != StickResponseType.ACCEPT:
254
- raise NodeError(f"Failed to register node {mac}")
+ # response = await request.send()
+ # if response is None or response.ack_id != StickResponseType.ACCEPT:
+ # raise NodeError(f"Failed to register node {mac}")
255
self.update_network_registration(self._first_free_address, mac, None)
256
self._first_free_address += 1
257
return self._first_free_address - 1
0 commit comments