core: [Beta 2022.6.0b0] Calendar Config Unload Error - Reports: Config was Never Loaded

The problem

Error in Core Log

Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/config_entries.py", line 474, in async_unload
result = await component.async_unload_entry(hass, self)
File "/usr/src/homeassistant/homeassistant/components/calendar/__init__.py", line 61, in async_unload_entry
return await component.async_unload_entry(entry)
File "/usr/src/homeassistant/homeassistant/helpers/entity_component.py", line 172, in async_unload_entry
raise ValueError("Config entry was never loaded!")
ValueError: Config entry was never loaded```

### What version of Home Assistant Core has the issue?

2022.6.0b0

### What was the last working version of Home Assistant Core?

2022.5.5

### What type of installation are you running?

Home Assistant OS

### Integration causing the issue

Google Calendars

### Link to integration documentation on our website

https://www.home-assistant.io/integrations/google/

### Diagnostics information

_No response_

### Example YAML snippet

```yaml
Yaml Config was deprecated in this release

#### Google Calendar
# google:
#   client_id: !secret google_cid
#   client_secret: !secret google_secret
#   track_new_calendar: true
was all that was in Config

Anything in the logs that might be useful for us?

No response

Additional information

Not Sure what triggers the issue

logging set for

homeassistant.config_entries: debug
homeassistant.components.google.calendar: debug

produced the Above log snippet

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Comments: 17 (5 by maintainers)

Most upvoted comments

Thanks, i don’t think any additional is needed at the moment but we’re discussing the fix in https://github.com/home-assistant/core/pull/72608