diff --git a/custom_components/ecovacs/manifest.json b/custom_components/ecovacs/manifest.json index d9d79d9..b103c60 100644 --- a/custom_components/ecovacs/manifest.json +++ b/custom_components/ecovacs/manifest.json @@ -1,7 +1,7 @@ { "domain": "ecovacs", "name": "Ecovacs Bumper", - "version": "1.0.3", + "version": "1.0.4", "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"], "codeowners": ["@OverloadUT", "@mib1185"], diff --git a/custom_components/ecovacs/sucksbumper.py b/custom_components/ecovacs/sucksbumper.py index 6cb4e51..99a8e03 100644 --- a/custom_components/ecovacs/sucksbumper.py +++ b/custom_components/ecovacs/sucksbumper.py @@ -424,6 +424,8 @@ class VacBot(): if self.server_address is not None: vacuum = {"did": "none", "class": "none"} super().__init__("sucks", "ecouser.net", "", "", vacuum, "") + self.xmpp = EcoVacsXMPP("sucks", "ecouser.net", "", "", "", vacuum, server_address) + self.xmpp.subscribe_to_ctls(self._handle_ctl) # should work with ecovacs servers but 1) havent tested with my changes and 2) havent tested with bmartins changes else: self.xmpp = EcoVacsXMPP(user, domain, resource, secret, continent, vacuum, server_address)