logger to announce xml results from messages

This commit is contained in:
bittles
2022-12-25 18:53:00 -05:00
parent 5ad3a0b928
commit 3fc0204c2c
3 changed files with 1122 additions and 1 deletions
+1 -1
View File
@@ -1,7 +1,7 @@
{ {
"domain": "ecovacs", "domain": "ecovacs",
"name": "Ecovacs Bumper", "name": "Ecovacs Bumper",
"version": "1.0.2", "version": "1.0.3",
"documentation": "https://www.home-assistant.io/integrations/ecovacs", "documentation": "https://www.home-assistant.io/integrations/ecovacs",
"requirements": ["sleekxmppfs==1.4.1", "click>=6", "requests>=2.18", "pycryptodome>=3.4", "pycountry-convert>=0.5", "paho-mqtt>=1.4", "stringcase>=1.2"], "requirements": ["sleekxmppfs==1.4.1", "click>=6", "requests>=2.18", "pycryptodome>=3.4", "pycountry-convert>=0.5", "paho-mqtt>=1.4", "stringcase>=1.2"],
"codeowners": ["@OverloadUT", "@mib1185"], "codeowners": ["@OverloadUT", "@mib1185"],
+1
View File
@@ -937,6 +937,7 @@ class EcoVacsXMPP(ClientXMPP):
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 : " + result)
if 'td' not in result: if 'td' not in result:
# This happens for commands with no response data, such as PlaySound # This happens for commands with no response data, such as PlaySound
return return
File diff suppressed because it is too large Load Diff