Skip to content

Commit

Permalink
Update Homecoach
Browse files Browse the repository at this point in the history
  • Loading branch information
JurgenLB authored Nov 10, 2024
1 parent 42d4e8e commit b9692c6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lnetatmo.py
Original file line number Diff line number Diff line change
Expand Up @@ -1006,8 +1006,8 @@ def lastData(self, hid=None, exclude=0):
limit = (time.time() - exclude) if exclude else 0
ds = self.HomecoachDevice['dashboard_data']
if ds.get('time_utc',limit+10) > limit :
_id = s[id]
return {'When':s, '_id':_id}
_id = ds[id]
return {'When':ds, '_id':_id}
else:
return {'When': 0, 'id': id}

Expand Down

0 comments on commit b9692c6

Please sign in to comment.