Skip to content

Commit

Permalink
2.1.4
Browse files Browse the repository at this point in the history
  • Loading branch information
jimboca committed Apr 9, 2019
1 parent 8c1a790 commit c6cf45e
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,8 @@ If you already have it installed and want the update before it's in the store.

## Release Notes

- 2.1.4: JimBo
- [Crash due to bad json returned from Ecobee](https://github.com/Einstein42/udi-ecobee-poly/issues/45)
- 2.1.3: JimBo
- More fixing flakey Ecobee servers.
- 2.1.2: JimBo
Expand Down
4 changes: 4 additions & 0 deletions ecobee-poly.py
Original file line number Diff line number Diff line change
Expand Up @@ -447,6 +447,10 @@ def getThermostats(self):
res_data = res['data']
res_code = res['code']
if 'revisionList' in res_data:
if res_data['revisionList'] is False:
self.l_error('getThermostats','revisionList is False.')
self.set_ecobee_st(False)
return False
for thermostat in res_data['revisionList']:
revisionArray = thermostat.split(':')
thermostats['{}'.format(revisionArray[0])] = {
Expand Down
2 changes: 1 addition & 1 deletion server.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
{
"title": "ecobee: Polyglot NodeServer for Ecobee",
"author": "James Milne (Einstein.42)",
"version": "2.1.3",
"version": "2.1.4",
"date": "July 25, 2018",
"source": "https://github.com/Einstein42/udi-ecobee-poly",
"license": "https://github.com/Einstein42/udi-ecobee-poly/master/LICENSE"
Expand Down

0 comments on commit c6cf45e

Please sign in to comment.