some logging to try to catch some initial vacuum states missed currently
This commit is contained in:
@@ -970,6 +970,11 @@ class EcoVacsXMPP(ClientXMPP):
|
|||||||
for s in self.ctl_subscribers:
|
for s in self.ctl_subscribers:
|
||||||
s(as_dict)
|
s(as_dict)
|
||||||
|
|
||||||
|
if as_dict is None:
|
||||||
|
other_part = message.get_payload()
|
||||||
|
_LOGGER.debug("handle_ctl called with get_payload(), the other part:")
|
||||||
|
_LOGGER.debug(other_part)
|
||||||
|
|
||||||
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 :")
|
# _LOGGER.debug("result from xml is :")
|
||||||
@@ -1013,9 +1018,9 @@ class EcoVacsXMPP(ClientXMPP):
|
|||||||
|
|
||||||
else:
|
else:
|
||||||
# This happens for commands with no response data, such as PlaySound
|
# This happens for commands with no response data, such as PlaySound
|
||||||
# _LOGGER.debug("neither type nor td in result:")
|
_LOGGER.debug("neither type nor td in result:")
|
||||||
# _LOGGER.debug(result)
|
_LOGGER.debug(result)
|
||||||
# _LOGGER.debug("end of no td or type detect result")
|
_LOGGER.debug("end of no td or type detect result")
|
||||||
return
|
return
|
||||||
|
|
||||||
def register_callback(self, userdata, message):
|
def register_callback(self, userdata, message):
|
||||||
|
|||||||
Reference in New Issue
Block a user