Skip to content

Commit 10cf751

Browse files
committed
Remove double request_send()
1 parent a15e9c0 commit 10cf751

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

plugwise_usb/network/registry.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -270,7 +270,6 @@ async def unregister_node(self, mac: str) -> None:
270270
raise NodeError(f"No existing registration '{mac}' found to unregister")
271271

272272
request = NodeRemoveRequest(self._send_to_controller, self._mac_nc, mac)
273-
response = await request.send()
274273
if (response := await request.send()) is None:
275274
raise NodeError(
276275
f"The Zigbee network coordinator '{self._mac_nc!r}'"

0 commit comments

Comments
 (0)