diff --git a/aiohomekit/controller/ip/connection.py b/aiohomekit/controller/ip/connection.py index addd358c..24806ade 100644 --- a/aiohomekit/controller/ip/connection.py +++ b/aiohomekit/controller/ip/connection.py @@ -601,7 +601,6 @@ async def _connect_once(self) -> None: raise TimeoutError("Timeout") from last_exception raise ConnectionError(str(last_exception)) from last_exception - logger.debug("Connected established to %s:%s", self.hosts, self.port) # set keep-alive on the socket to ensure we detect dropped connections # since we don't send keep-alive packets ourselves sock.setsockopt(socket.SOL_SOCKET, socket.SO_KEEPALIVE, 1) @@ -621,9 +620,7 @@ async def _connect_once(self) -> None: self.host_header = f"Host: [{connected_host}]" else: self.host_header = f"Host: {connected_host}" - if self.owner: - logger.debug("Connection made to %s:%s", self.hosts, self.port) await self.owner.connection_made(False) async def _reconnect(self) -> None: