From 805213264dde8d37eacbcff2cd6e89564337473d Mon Sep 17 00:00:00 2001 From: "J. Nick Koston" Date: Thu, 29 Aug 2024 10:26:59 -1000 Subject: [PATCH] Revert "fix crash on debug logging in windows" This reverts commit e33ed155533d65c5c74147375b378e9b9daa282a. --- aioesphomeapi/connection.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/aioesphomeapi/connection.py b/aioesphomeapi/connection.py index ff9d589..65acf68 100644 --- a/aioesphomeapi/connection.py +++ b/aioesphomeapi/connection.py @@ -711,7 +711,9 @@ class APIConnection: if debug_enabled := self._debug_enabled: for msg in msgs: - _LOGGER.debug("%s: Sending %s", self.log_name, type(msg).__name__) + _LOGGER.debug( + "%s: Sending %s: %s", self.log_name, type(msg).__name__, msg + ) if TYPE_CHECKING: assert self._frame_helper is not None