Skip to content

Commit e777156

Browse files
committed
Remove double line, debug
1 parent 1c83ab3 commit e777156

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

plugwise_usb/connection/queue.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -174,14 +174,14 @@ async def _send_queue_worker(self) -> None:
174174
while self._running and self._stick is not None:
175175
request = await self._submit_queue.get()
176176
_LOGGER.debug("Sending from send queue %s", request)
177+
_LOGGER.debug("HOI queue: %s", list(self._submit_queue._queue))
177178
if request.priority == Priority.CANCEL:
178179
self._submit_queue.task_done()
179180
return
180181

181182
if self._stick.queue_depth > 3:
183+
_LOGGER.warning("Awaiting plugwise responses %d", self._stick.queue_depth)
182184
await sleep(0.125)
183-
if self._stick.queue_depth > 3:
184-
_LOGGER.warning("Awaiting plugwise responses %d", self._stick.queue_depth)
185185

186186
await self._stick.write_to_stick(request)
187187
self._submit_queue.task_done()

0 commit comments

Comments
 (0)