System: HA Core 2021.1.5 on Docker.
Issue: Google Calendar not loading.
Description:
Since 2 days my Google calendars are no longer loading into HA, with below error.
There has absolutely not been any configuration change on my side.
Are other people also experiencing issues with Google calendar integration ?
Any clue on how I can solve this ?
Thx in anticipation !
PS: Deleting or renaming the file “.google.token” in your /config folder & rebooting is just a temporary fix. There is something more fundamental going wrong with this integration.
Error:
Logger: homeassistant.core
Source: components/google/__init__.py:347
First occurred: 10:16:26 AM (1 occurrences)
Last logged: 10:16:26 AM
Error executing service: <ServiceCall google.scan_for_calendars (c:37f1319fe7b5644911ad8cb60e28c674)>
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/core.py", line 1461, in catch_exceptions
await coro_or_task
File "/usr/src/homeassistant/homeassistant/core.py", line 1484, in _execute_service
await self._hass.async_add_executor_job(handler.job.target, service_call)
File "/usr/local/lib/python3.8/concurrent/futures/thread.py", line 57, in run
result = self.fn(*self.args, **self.kwargs)
File "/usr/src/homeassistant/homeassistant/components/google/__init__.py", line 257, in _scan_for_calendars
service = calendar_service.get()
File "/usr/src/homeassistant/homeassistant/components/google/__init__.py", line 347, in get
http = credentials.authorize(httplib2.Http())
AttributeError: 'NoneType' object has no attribute 'authorize'