Skip to content

Commit 6f45998

Browse files
committed
Add comment for pass
1 parent 2cefd24 commit 6f45998

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

plugwise_usb/messages/requests.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -285,8 +285,10 @@ async def _process_stick_response(self, stick_response: StickResponse) -> None:
285285
"""Process incoming stick response."""
286286
if self._response_future.done():
287287
return
288+
288289
if self._seq_id is None or self._seq_id != stick_response.seq_id:
289290
return
291+
290292
if stick_response.ack_id == StickResponseType.TIMEOUT:
291293
self._response_timeout_expired(stick_timeout=True)
292294
elif stick_response.ack_id == StickResponseType.FAILED:
@@ -296,7 +298,7 @@ async def _process_stick_response(self, stick_response: StickResponse) -> None:
296298
NodeError(f"Stick failed request {self._seq_id}")
297299
)
298300
elif stick_response.ack_id == StickResponseType.ACCEPT:
299-
pass
301+
pass # Nothing to do for ACCEPT
300302
else:
301303
_LOGGER.debug(
302304
"Unknown StickResponseType %s at %s for request %s",

0 commit comments

Comments
 (0)