Skip to content

Commit 0280d97

Browse files
committed
Revert blocking stick_response for NodeAddRequest
1 parent 687f758 commit 0280d97

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

plugwise_usb/connection/sender.py

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -82,13 +82,6 @@ async def write_request_to_port(self, request: PlugwiseRequest) -> None:
8282
_LOGGER.debug("write_request_to_port | Write %s to port as %s", request, serialized_data)
8383
self._transport.write(serialized_data)
8484
request.start_response_timeout()
85-
86-
if request.no_stick_response:
87-
self._stick_response.cancel()
88-
self._stick_lock.release()
89-
self._processed_msgs += 1
90-
return
91-
9285
# Wait for USB stick to accept request
9386
try:
9487
async with timeout(STICK_TIME_OUT):

0 commit comments

Comments
 (0)