Skip to content

Commit

Permalink
remove logging
Browse files Browse the repository at this point in the history
  • Loading branch information
ReneNulschDE committed Dec 6, 2024
1 parent 5958bb0 commit 8b0e8a7
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions custom_components/mbapi2020/websocket.py
Original file line number Diff line number Diff line change
Expand Up @@ -114,16 +114,13 @@ async def _async_stop_handler(event):

async def async_stop(self, now: datetime = datetime.now()):
"""Close connection."""
LOGGER.debug("async_stop - 1")
self.is_stopping = True
self._watchdog.cancel()
self._pingwatchdog.cancel()
self.connection_state = "closed"

if self._connection is not None:
LOGGER.debug("async_stop - 2")
await self._connection.close()
LOGGER.debug("async_stop - 3")

async def initiatiate_connection_disconnect_with_reconnect(self):
"""Initiate a connection disconnect."""
Expand Down

0 comments on commit 8b0e8a7

Please sign in to comment.