From f3b6bc0ff84ee7d545d8a598ee8d9d7db011fd07 Mon Sep 17 00:00:00 2001 From: bittles Date: Sun, 25 Dec 2022 19:03:31 -0500 Subject: [PATCH] change xml result to string --- custom_components/ecovacs/sucksbumper.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/custom_components/ecovacs/sucksbumper.py b/custom_components/ecovacs/sucksbumper.py index 24cd8fa..315a538 100644 --- a/custom_components/ecovacs/sucksbumper.py +++ b/custom_components/ecovacs/sucksbumper.py @@ -937,7 +937,7 @@ class EcoVacsXMPP(ClientXMPP): def _ctl_to_dict(self, xml): result = xml.attrib.copy() - _LOGGER.debug("result from xml is : " + result) + _LOGGER.debug("result from xml is : " + ET.tostring(result)) if 'td' not in result: # This happens for commands with no response data, such as PlaySound return