Compare commits
5 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| d7a7b2d185 | |||
| 01165a4f85 | |||
| fa2c724333 | |||
| b21e2f95aa | |||
| 4d8dc3fbe4 |
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"domain": "ecovacs",
|
||||
"name": "Ecovacs Bumper",
|
||||
"version": "1.4.3",
|
||||
"version": "1.4.4",
|
||||
"documentation": "https://github.com/bittles/ha_ecovacs_bumper",
|
||||
"issue_tracker": "https://github.com/bittles/ha_ecovacs_bumper/issues",
|
||||
"requirements": ["sleekxmppfs==1.4.1", "requests>=2.18", "pycryptodome>=3.4", "pycountry-convert>=0.5", "paho-mqtt>=1.4", "stringcase>=1.2"],
|
||||
|
||||
@@ -89,7 +89,7 @@ class EcoVacsIOTMQ(ClientMQTT):
|
||||
|
||||
def schedule(self, timer_seconds, timer_function):
|
||||
self.scheduler.enter(timer_seconds, 1, self._run_scheduled_func,(timer_seconds, timer_function))
|
||||
if not self.scheduler_thread.isAlive():
|
||||
if not self.scheduler_thread.is_alive():
|
||||
self.scheduler_thread.start()
|
||||
|
||||
def wait_until_ready(self):
|
||||
@@ -183,7 +183,7 @@ class EcoVacsIOTMQ(ClientMQTT):
|
||||
|
||||
def _ctl_to_dict_api(self, action, xmlstring):
|
||||
xml = ET.fromstring(xmlstring)
|
||||
xmlchild = xml.getchildren()
|
||||
xmlchild = list(xml)
|
||||
if len(xmlchild) > 0:
|
||||
result = xmlchild[0].attrib.copy()
|
||||
#Fix for difference in XMPP vs API response
|
||||
|
||||
Reference in New Issue
Block a user