Skip to content

Commit b9692c6

Browse files
authored
Update Homecoach
1 parent 42d4e8e commit b9692c6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lnetatmo.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1006,8 +1006,8 @@ def lastData(self, hid=None, exclude=0):
10061006
limit = (time.time() - exclude) if exclude else 0
10071007
ds = self.HomecoachDevice['dashboard_data']
10081008
if ds.get('time_utc',limit+10) > limit :
1009-
_id = s[id]
1010-
return {'When':s, '_id':_id}
1009+
_id = ds[id]
1010+
return {'When':ds, '_id':_id}
10111011
else:
10121012
return {'When': 0, 'id': id}
10131013

0 commit comments

Comments
 (0)