grab payload farther down?

This commit is contained in:
bittles
2023-01-02 00:44:57 -05:00
parent fde7ee9d5f
commit a1356f2652
+2 -2
View File
@@ -955,8 +955,8 @@ class EcoVacsXMPP(ClientXMPP):
if as_dict is None: if as_dict is None:
try: try:
other_part = message.get_payload() other_part = message.get_payload()[0][0][0]
_LOGGER.debug("handle_ctl called with get_payload()[0][1], 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)
except IndexError: except IndexError:
_LOGGER.warning("No extra payload") _LOGGER.warning("No extra payload")