mrk-its / homeassistant-blitzortung

Custom Component for fetching lightning data from blitzortung.org
MIT License
210 stars 41 forks source link

Getting some errors on startup - 0f05fe0 update #39

Closed blew1234 closed 2 years ago

blew1234 commented 2 years ago

Hi there, I'm getting some errors on startup with the latest version

Error unloading entry Blitzortung for sensor Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/config_entries.py", line 443, in async_unload result = await component.async_unload_entry(hass, self) # type: ignore File "/usr/src/homeassistant/homeassistant/components/sensor/init.py", line 134, in async_unload_entry return await component.async_unload_entry(entry) File "/usr/src/homeassistant/homeassistant/helpers/entity_component.py", line 181, in async_unload_entry raise ValueError("Config entry was never loaded!") ValueError: Config entry was never loaded!

Logger: homeassistant.setup Source: setup.py:316 First occurred: 5:30:49 AM (1 occurrences) Last logged: 5:30:49 AM

Unable to prepare setup for platform blitzortung.sensor: Platform not found (cannot import name 'DeviceEntryType' from 'homeassistant.helpers.device_registry' (/usr/src/homeassistant/homeassistant/helpers/device_registry.py)).

Any ideas?

L3cha1 commented 2 years ago

I am getting the same errors. I'm on 2021.11.5.

blew1234 commented 2 years ago

2021.11.5 as well.

blew1234 commented 2 years ago

Just upgraded to 2021.12.1 and it seems to be working again

L3cha1 commented 2 years ago

I also upgraded to 2021.12.1 and it's fixed for me as well. thanks

blew1234 commented 2 years ago

No problems.