Removing Google Calendars

I’m trying to completely remove the Google Calendar integration. Seems simple, but after I’ve removed the integration and removed the configuration files (including the token!) once I reboot HA I still see calendars listed (though events) in the Calendar.

I’ve searched in the .storage and can’t find any of the entities either. Since none of them have a unique ID I can’t delete them from the UI. I have no idea how to purge my system of these unwanted calendars.

Does anyone have an idea?

Are you saying the integration is not listed in the integrations page but the calendars still show up in the calendar tab? I don’t see how this is possible. Can you share what the screen looks like?

That is precisely what I was saying. However, all the calendars seem to have finally disappeared after leaving the system to sit around overnight. I still don’t know what was happening, nor could I find any references to the calendars in the storage. I had restarted HA (even the entire HAOS system) a few times and the calendars were persisting and showing up in the entities list!

As I said, it seems to have fixed itself overnight though, so I’m just going to consider this resolved.

So, I think I found the actual issue. Looks like the calendar and entity pages are caching information. Once I did some hard refreshes on the pages things cleared up!

I thought it had fully cleared up overnight but that was because I had opened another window while I was about to reply this morning, and wasn’t looking in the tab that I was originally working in! Once I did a hard refresh there, things cleared up.

3 Likes

Thanks for that feedback!
I stumbled across the same situation. A reboot of HA did not help but a browser page refresh (F5) did the trick.

I don’t know now if I understand what the issue is. Can you spell this out in more detail?

Not really an issue.
When deleting a calendar, in my case from an integration I didn’t use anymore, it still showed up on the calendar page (on the left, where you can check/uncheck calendars to show). And if I remember correctly, I also got an error message.
A reboot of HA didn‘t help.

Turned out it was once more a browser caching issue, easily to resolve by pressing F5 for a page reload.

By the way, the new local calendars in HA 2022.12 are a great addition. Thank you for that!

Got it, thank you!

I have the same problem. I deleted Google Calendar from the integrations and the Calendar still appears on the left. I have refreshed the screen many times, restarted HA, and rebooted the raspberry. I have tried re-installing the Google integration several times. I have went into the Google developers console and deleted everything there.
Any suggestions would be appreciated.

Nothing has solved my problem.

When I try to re-install Google calendar I get “failed” message
Running on raspberry 4

Log Logger: homeassistant.components.google.config_flow
Source: components/google/config_flow.py:130
Integration: Google Calendar (documentation, issues)
First occurred: 6:39:09 PM (1 occurrences)
Last logged: 6:39:09 PM

Error reading primary calendar: Error from API: 403: PERMISSION_DENIED: Google Calendar API has not been used in project 305759361664 before or it is disabled. Enable it by visiting https://console.developers.google.com/apis/api/calendar-json.googleapis.com/overview?project=305759361664 then retry. If you enabled this API recently, wait a few minutes for the action to propagate to our systems and retry.: Forbidden

API is Enabled

Home Assistant Operating System

by Home Assistant

Version: 6.6

“home_assistant”: {
“installation_type”: “Home Assistant OS”,
“version”: “2022.12.8”,
“dev”: false,
“hassio”: true,
“virtualenv”: false,
“python_version”: “3.10.7”,
“docker”: true,
“arch”: “aarch64”,
“timezone”: “America/New_York”,
“os_name”: “Linux”,
“os_version”: “5.10.17-v8”,
“supervisor”: “2022.12.1”,
“host_os”: “Home Assistant OS 6.6”,
“docker_version”: “20.10.8”,
“chassis”: “embedded”,
“run_as_root”: true

******************** Finally got Google Calendar to re-install. I went back into the Developer’s console deleted everything again and went through the install.


1 Like