Skip to content

Commit 011cc29

Browse files
committed
More SED debug
1 parent ecd56c7 commit 011cc29

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

plugwise_usb/nodes/sed.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -647,6 +647,7 @@ async def _send_tasks(self) -> None:
647647
if len(self._send_task_queue) == 0:
648648
return
649649
async with self._send_task_lock:
650+
_LOGGER.debug("SED awake, send tasks for execution")
650651
task_result = await gather(*self._send_task_queue)
651652
if not all(task_result):
652653
_LOGGER.warning(
@@ -662,6 +663,7 @@ async def schedule_task_when_awake(
662663
) -> None:
663664
"""Add task to queue to be executed when node is awake."""
664665
if iscoroutine(task_fn):
666+
_LOGGER.debug("Add task %s to queue waiting for awake", task_fn)
665667
async with self._send_task_lock:
666668
self._send_task_queue.append(task_fn)
667669

0 commit comments

Comments
 (0)