From 18e99c6f12baa8657d19e25aadf66cd6292c9efb Mon Sep 17 00:00:00 2001 From: Fabio Manganiello Date: Mon, 10 May 2021 21:21:03 +0200 Subject: [PATCH] Added new Google Fit scopes for sleep and heart rate read --- platypush/plugins/google/fit.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/platypush/plugins/google/fit.py b/platypush/plugins/google/fit.py index 50e846aed..df0165b83 100644 --- a/platypush/plugins/google/fit.py +++ b/platypush/plugins/google/fit.py @@ -10,6 +10,8 @@ class GoogleFitPlugin(GooglePlugin): scopes = ['https://www.googleapis.com/auth/fitness.activity.read', 'https://www.googleapis.com/auth/fitness.body.read', 'https://www.googleapis.com/auth/fitness.body_temperature.read', + 'https://www.googleapis.com/auth/fitness.heart_rate.read', + 'https://www.googleapis.com/auth/fitness.sleep.read', 'https://www.googleapis.com/auth/fitness.location.read'] def __init__(self, user_id='me', *args, **kwargs):