From 0b2544693538ff5588d39b38ae38a8589866b113 Mon Sep 17 00:00:00 2001 From: JimBo Date: Tue, 5 Feb 2019 14:29:45 -0800 Subject: [PATCH] 2.0.34 --- README.md | 3 +++ ecobee-poly.py | 1 + server.json | 2 +- 3 files changed, 5 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index fe16087..d891a68 100755 --- a/README.md +++ b/README.md @@ -61,6 +61,9 @@ If you already have it installed and want the update before it's in the store. ## Release Notes +- 2.0.34: JimBo + - [AttributeError: 'Controller' object has no attribute 'revData'](https://github.com/Einstein42/udi-ecobee-poly/issues/36) + - Send Heartbeat on startup - 2.0.33: JimBo - Fix another crash from Ecobee server returning bad json data. - 2.0.32: JimBo diff --git a/ecobee-poly.py b/ecobee-poly.py index e18d09c..0c7af6d 100755 --- a/ecobee-poly.py +++ b/ecobee-poly.py @@ -300,6 +300,7 @@ def discover(self, *args, **kwargs): LOGGER.info('Discovering Ecobee Thermostats') if self.auth_token is None: return False + self.revData = {} # Intialize in case we fail thermostats = self.getThermostats() if thermostats is False: LOGGER.error("Discover Failed, No thermostats returned! Will try again on next long poll") diff --git a/server.json b/server.json index 4662bb3..9cfc5aa 100755 --- a/server.json +++ b/server.json @@ -14,7 +14,7 @@ { "title": "ecobee: Polyglot NodeServer for Ecobee", "author": "James Milne (Einstein.42)", - "version": "2.0.33", + "version": "2.0.34", "date": "July 25, 2018", "source": "https://github.com/Einstein42/udi-ecobee-poly", "license": "https://github.com/Einstein42/udi-ecobee-poly/master/LICENSE"