Skip to content
This repository has been archived by the owner on Oct 31, 2023. It is now read-only.

Commit

Permalink
Fix HeartRate
Browse files Browse the repository at this point in the history
  • Loading branch information
vmanuel committed Jan 6, 2020
1 parent 3499833 commit 229bf62
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion custom_components/google-fit/sensor.py
Original file line number Diff line number Diff line change
Expand Up @@ -292,7 +292,7 @@ def _get_dataset(self, source):

def _get_dataset_from_last_update(self, source):
dataset_start = int(_today_dataset_start())
dataset_start = dataset_start -10800000000000
dataset_start = dataset_start -1080000000000
dataset = "%s-%s" % (dataset_start, _today_dataset_end())

return self._client.users().dataSources(). \
Expand Down

0 comments on commit 229bf62

Please sign in to comment.