From bdc9ee4c0ad6d8319146ee3390db578cbcb39889 Mon Sep 17 00:00:00 2001 From: bittles Date: Mon, 2 Jan 2023 00:57:23 -0500 Subject: [PATCH] show the xml attributes in log --- custom_components/ecovacs/sucksbumper.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/custom_components/ecovacs/sucksbumper.py b/custom_components/ecovacs/sucksbumper.py index 53b7644..74b87c3 100644 --- a/custom_components/ecovacs/sucksbumper.py +++ b/custom_components/ecovacs/sucksbumper.py @@ -959,16 +959,16 @@ class EcoVacsXMPP(ClientXMPP): _LOGGER.debug("handle_ctl called with get_payload()[0][0][0], the other part:") _LOGGER.debug(other_part) other_dict = self._ctl_to_dict(other_part) - _LOGGER.debug("other dict in query:") - _LOGGER.debug(other_dict) + #_LOGGER.debug("other dict in query:") + #_LOGGER.debug(other_dict) except IndexError: _LOGGER.warning("No extra payload") def _ctl_to_dict(self, xml): result = xml.attrib.copy() -# _LOGGER.debug("result from xml is :") -# _LOGGER.debug(result) -# _LOGGER.debug("end of result") + _LOGGER.debug("result from xml is :") + _LOGGER.debug(result) + _LOGGER.debug("end of result") if 'td' in result: