found right payload, convert to dict and log

This commit is contained in:
bittles
2023-01-02 00:51:15 -05:00
parent a1356f2652
commit 6d703780e6
+3
View File
@@ -958,6 +958,9 @@ class EcoVacsXMPP(ClientXMPP):
other_part = message.get_payload()[0][0][0] other_part = message.get_payload()[0][0][0]
_LOGGER.debug("handle_ctl called with get_payload()[0][0][0], the other part:") _LOGGER.debug("handle_ctl called with get_payload()[0][0][0], the other part:")
_LOGGER.debug(other_part) _LOGGER.debug(other_part)
other_dict = self._ctl_to_dict(other_part)
_LOGGER.debug("other dict in query:")
_LOGGER.debug(other_dict)
except IndexError: except IndexError:
_LOGGER.warning("No extra payload") _LOGGER.warning("No extra payload")