@@ -222,7 +222,7 @@ async def _receive_queue_worker(self):
222222 _LOGGER .debug ("Receive_queue_worker started" )
223223 while self .is_connected :
224224 response : PlugwiseResponse | None = await self ._receive_queue .get ()
225- _LOGGER .debug ("Process from queue: %s" , response )
225+ _LOGGER .debug ("Process from receive queue: %s" , response )
226226 if isinstance (response , StickResponse ):
227227 _LOGGER .debug ("Received %s" , response )
228228 await self ._notify_stick_response_subscribers (response )
@@ -232,7 +232,7 @@ async def _receive_queue_worker(self):
232232 else :
233233 await self ._notify_node_response_subscribers (response )
234234 self ._receive_queue .task_done ()
235- _LOGGER .debug ("Receive_queue_worker finished " )
235+ _LOGGER .debug ("Receive_queue_worker stopped " )
236236
237237 def _reset_buffer (self , new_buffer : bytes ) -> None :
238238 if new_buffer [:2 ] == MESSAGE_FOOTER :
@@ -342,7 +342,7 @@ async def _notify_node_response_subscribers(self, node_response: PlugwiseRespons
342342 notify_tasks .append (callback (node_response ))
343343
344344 if len (notify_tasks ) > 0 :
345- _LOGGER .debug ( "Notify node response subscribers (%s) about %s" , len ( notify_tasks ) , node_response )
345+ _LOGGER .info ( "Received %s" , node_response )
346346 if node_response .seq_id not in BROADCAST_IDS :
347347 self ._last_processed_messages .append (node_response .seq_id )
348348 if node_response .seq_id in self ._delayed_processing_tasks :
@@ -351,6 +351,7 @@ async def _notify_node_response_subscribers(self, node_response: PlugwiseRespons
351351 self ._last_processed_messages = self ._last_processed_messages [- CACHED_REQUESTS :]
352352
353353 # execute callbacks
354+ _LOGGER .debug ("Notify node response subscribers (%s) about %s" , len (notify_tasks ), node_response )
354355 task_result = await gather (* notify_tasks )
355356
356357 # Log execution result for special cases
0 commit comments