Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Stop Working #35

Open
milandzuris opened this issue Mar 29, 2023 · 0 comments
Open

Stop Working #35

milandzuris opened this issue Mar 29, 2023 · 0 comments

Comments

@milandzuris
Copy link

Logger: homeassistant.components.sensor
Source: custom_components/google_fit/sensor.py:98
Integration: Sensor (documentation, issues)
First occurred: 20:47:52 (1 occurrences)
Last logged: 20:47:52

Error while setting up google_fit platform for sensor
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 293, in _async_setup_platform
await asyncio.shield(task)
File "/usr/local/lib/python3.10/concurrent/futures/thread.py", line 58, 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'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant