From 7ce31c4b2cd40187d9055aaadc8430cd477170d6 Mon Sep 17 00:00:00 2001 From: bittles Date: Sun, 25 Dec 2022 19:08:21 -0500 Subject: [PATCH] fix logger --- custom_components/ecovacs/sucksbumper.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/custom_components/ecovacs/sucksbumper.py b/custom_components/ecovacs/sucksbumper.py index 315a538..ae1350d 100644 --- a/custom_components/ecovacs/sucksbumper.py +++ b/custom_components/ecovacs/sucksbumper.py @@ -937,7 +937,9 @@ class EcoVacsXMPP(ClientXMPP): def _ctl_to_dict(self, xml): result = xml.attrib.copy() - _LOGGER.debug("result from xml is : " + ET.tostring(result)) + _LOGGER.debug("result from xml is :") + _LOGGER.debug(result) + _LOGGER.debug("end of result") if 'td' not in result: # This happens for commands with no response data, such as PlaySound return