From 05818b8c237262aea6ce3c2c9afdfcce8e9a8aa1 Mon Sep 17 00:00:00 2001 From: bittles Date: Mon, 2 Jan 2023 17:07:15 -0500 Subject: [PATCH] typo --- custom_components/ecovacs/sucksbumper.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/custom_components/ecovacs/sucksbumper.py b/custom_components/ecovacs/sucksbumper.py index 98ab979..c061898 100644 --- a/custom_components/ecovacs/sucksbumper.py +++ b/custom_components/ecovacs/sucksbumper.py @@ -1006,7 +1006,7 @@ class EcoVacsXMPP(ClientXMPP): _LOGGER.debug(result) else: - xml[0] is not None: + if xml[0] is not None: # if other_xml is not None: # case where there is child element _LOGGER.debug("child xml detected, [0] tag is") _LOGGER.debug(xml[0].tag)