From a39af8aff9e123ffdac0f69906aa6070596c1b32 Mon Sep 17 00:00:00 2001 From: Jan Bouwhuis Date: Fri, 18 Aug 2023 23:03:56 +0200 Subject: [PATCH] Fix rest debug logging (#98649) Correct rest debug logging --- homeassistant/components/rest/data.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/homeassistant/components/rest/data.py b/homeassistant/components/rest/data.py index 1f331651165..61c88a14400 100644 --- a/homeassistant/components/rest/data.py +++ b/homeassistant/components/rest/data.py @@ -81,7 +81,7 @@ class RestData: "REST xml result could not be parsed and converted to JSON" ) else: - _LOGGER.debug("JSON converted from XML: %s", self.data) + _LOGGER.debug("JSON converted from XML: %s", value) return value async def async_update(self, log_errors: bool = True) -> None: