This commit is contained in:
bittles
2022-12-31 11:20:28 -05:00
parent 09fa332fb0
commit 1f0a83ec7d
+2 -2
View File
@@ -948,7 +948,7 @@ class EcoVacsXMPP(ClientXMPP):
def _handle_ctl(self, message):
the_good_part = message.get_payload()[0][0]
as_dict = self._ctl_to_dict(the_good_part)
if message.get_payload([0][1]:
if message.get_payload()[0][1]:
the_other_part = message.get_payload()[0][1]
other_dict = self._ctl_to_dict(the_other_part)
_LOGGER.debug("handle_ctl called with[0][1] the other part:")
@@ -957,7 +957,7 @@ class EcoVacsXMPP(ClientXMPP):
_LOGGER.debug(other_dict)
_LOGGER.debug("end of the_other_part")
if message.get_payload([1][0]:
if message.get_payload()[1][0]:
the_another_part = message.get_payload()[1][0]
another_dict = self._ctl_to_dict(the_another_part)
_LOGGER.debug("handle_ctl called with[1][0] the another part:")