change xml result to string

This commit is contained in:
bittles
2022-12-25 19:03:31 -05:00
parent 3fc0204c2c
commit f3b6bc0ff8
+1 -1
View File
@@ -937,7 +937,7 @@ class EcoVacsXMPP(ClientXMPP):
def _ctl_to_dict(self, xml): def _ctl_to_dict(self, xml):
result = xml.attrib.copy() 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: if 'td' not in result:
# This happens for commands with no response data, such as PlaySound # This happens for commands with no response data, such as PlaySound
return return