You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm having this issue after copying the google_fit.token to config after finding the solution to the 'invalid scope' error this plugin shows after initial installation. Any ideas of how to resolve? It seems like this plugin and the many variants it's forked from just don't work. I'm familiar with YAML and some basic python, but I'm no regular coder so I'm not sure where to begin.
Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 281, in _async_setup_platform await asyncio.shield(task) File "/usr/local/lib/python3.10/concurrent/futures/thread.py", line 52, in run result = self.fn(*self.args, **self.kwargs) File "/config/custom_components/google_fit/sensor.py", line 176, in setup_platform client = _get_client(token_file) File "/config/custom_components/google_fit/sensor.py", line 98, in _get_client http = credentials.authorize(httplib2.Http()) AttributeError: 'NoneType' object has no attribute 'authorize'
The text was updated successfully, but these errors were encountered:
I'm having this issue after copying the google_fit.token to config after finding the solution to the 'invalid scope' error this plugin shows after initial installation. Any ideas of how to resolve? It seems like this plugin and the many variants it's forked from just don't work. I'm familiar with YAML and some basic python, but I'm no regular coder so I'm not sure where to begin.
Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 281, in _async_setup_platform await asyncio.shield(task) File "/usr/local/lib/python3.10/concurrent/futures/thread.py", line 52, in run result = self.fn(*self.args, **self.kwargs) File "/config/custom_components/google_fit/sensor.py", line 176, in setup_platform client = _get_client(token_file) File "/config/custom_components/google_fit/sensor.py", line 98, in _get_client http = credentials.authorize(httplib2.Http()) AttributeError: 'NoneType' object has no attribute 'authorize'
The text was updated successfully, but these errors were encountered: