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'
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'