Skip to content

Commit be769d9

Browse files
committed
Add ToDo's
1 parent 474c689 commit be769d9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

plugwise_usb/network/registry.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -252,8 +252,8 @@ async def register_node(self, mac: str) -> int:
252252

253253
request = NodeAddRequest(self._send_to_controller, bytes(mac, UTF8), True)
254254
try:
255-
response = await request.send()
256-
_LOGGER.debug("register_node | response ack_id: %s", response.ack_id)
255+
response = await request.send() # ToDo: no stick_response, also the NodeRejoinResponse can be minutes later, how to handel?
256+
_LOGGER.debug("register_node | response ack_id: %s", response.ack_id) # ToDo remove, not working
257257
if response is None:
258258
raise NodeError(f"Failed to register node {mac}, no response received")
259259
except MessageError as exc:

0 commit comments

Comments
 (0)