hacs / integration

HACS gives you a powerful UI to handle downloads of all your custom needs.
https://hacs.xyz
MIT License
4.93k stars 1.23k forks source link

Error in startup log after removing a repository from HACS #2077

Closed attila123456 closed 3 years ago

attila123456 commented 3 years ago

System Health details

System Health

version core-2021.6.3
installation_type Home Assistant Container
dev false
hassio false
docker true
virtualenv false
python_version 3.8.9
os_name Linux
os_version 5.10.34-imx6
arch armv7l
timezone Europe/Amsterdam
Home Assistant Community Store GitHub API | ok -- | -- Github API Calls Remaining | 4862 Installed Version | 1.12.4 Stage | running Available Repositories | 822 Installed Repositories | 9
Home Assistant Cloud logged_in | false -- | -- can_reach_cert_server | ok can_reach_cloud_auth | ok can_reach_cloud | ok
Lovelace dashboards | 2 -- | -- resources | 4 views | 5 mode | storage

Checklist

Describe the issue

After the meteoalarmeu integration stopped working, I've uninstalled it from HACS. Since then the following error pops up in the log on every startup of HA:

2021-06-08 09:18:18 ERROR (MainThread) [homeassistant.setup] Setup failed for meteoalarmeu: Integration not found.

A persistent notification is created as well:

image

It doesn't seem to be causing any problem, but apparently some traces of the integration still exist in the system. I have no automations or config.yaml entries that refer to it. Would this be a HACS issue (for not removing the integration completely) or a meteoalarmeu issue?

Reproduction steps

  1. Install meteoalarmeu (https://github.com/xlcnd/meteoalarmeu) from the official HACS repo
  2. restart HA
  3. uninstall meteoalarmeu
  4. restart HA
  5. error? ...

Debug logs

2021-06-08 09:55:27 DEBUG (MainThread) [custom_components.hacs] Configuration type: flow
2021-06-08 09:55:27 INFO (MainThread) [custom_components.hacs]
2021-06-08 09:55:27 INFO (MainThread) [custom_components.hacs] Setup task HacsSetupTask.WEBSOCKET
2021-06-08 09:55:27 INFO (MainThread) [custom_components.hacs] Setup task HacsSetupTask.FRONTEND
2021-06-08 09:55:27 INFO (MainThread) [custom_components.hacs] Setup task HacsSetupTask.CATEGORIES
2021-06-08 09:55:28 INFO (MainThread) [custom_components.hacs] HACS is enabled
2021-06-08 09:55:33 DEBUG (MainThread) [custom_components.hacs] Can update 257 repositories
2021-06-08 09:55:33 INFO (MainThread) [custom_components.hacs] Setup task HacsSetupTask.HACS_REPO
2021-06-08 09:55:33 DEBUG (MainThread) [custom_components.hacs] <Integration hacs/integration> Checking repository.
2021-06-08 09:55:35 DEBUG (MainThread) [custom_components.hacs] <Integration hacs/integration> Running checks against 1.12.4
2021-06-08 09:55:37 DEBUG (MainThread) [custom_components.hacs] <Integration hacs/integration> All (0) checks passed
2021-06-08 09:55:37 INFO (MainThread) [custom_components.hacs] <Integration hacs/integration> Registration completed
2021-06-08 09:55:37 INFO (MainThread) [custom_components.hacs] Restore started
2021-06-08 09:55:42 INFO (MainThread) [custom_components.hacs] Restore done
2021-06-08 09:55:42 INFO (MainThread) [custom_components.hacs] Setup task HacsSetupTask.SENSOR
2021-06-08 09:55:42 INFO (MainThread) [custom_components.hacs] Stage changed: HacsStage.WAITING
2021-06-08 09:55:42 INFO (MainThread) [custom_components.hacs] Setup complete, waiting for Home Assistant before startup tasks starts
2021-06-08 09:55:42 INFO (MainThread) [custom_components.hacs] HACS is enabled
2021-06-08 09:55:42 INFO (MainThread) [custom_components.hacs] Stage changed: HacsStage.STARTUP
2021-06-08 09:55:42 INFO (MainThread) [custom_components.hacs] setup task HacsSetupTask.CATEGORIES
2021-06-08 09:55:42 DEBUG (SyncWorker_5) [custom_components.hacs] Starting setup task: Extra stores
2021-06-08 09:55:42 INFO (SyncWorker_5) [custom_components.hacs] Enable category: HacsCategory.INTEGRATION
2021-06-08 09:55:42 INFO (SyncWorker_5) [custom_components.hacs] Enable category: HacsCategory.PLUGIN
2021-06-08 09:55:42 INFO (SyncWorker_5) [custom_components.hacs] Enable category: HacsCategory.THEME
2021-06-08 09:55:43 INFO (MainThread) [custom_components.hacs] Loading known repositories
2021-06-08 09:55:44 DEBUG (MainThread) [custom_components.hacs] Got 98 elements for HacsCategory.REMOVED
2021-06-08 09:55:44 DEBUG (MainThread) [custom_components.hacs] Can update 257 repositories, items in queue 3
2021-06-08 09:55:45 DEBUG (MainThread) [custom_components.hacs] Got 539 elements for HacsCategory.INTEGRATION
2021-06-08 09:55:46 DEBUG (MainThread) [custom_components.hacs] Got 63 elements for HacsCategory.THEME
2021-06-08 09:55:46 DEBUG (MainThread) [custom_components.hacs] Got 226 elements for HacsCategory.PLUGIN
2021-06-08 09:55:47 DEBUG (MainThread) [custom_components.hacs] Starting recurring background task for installed repositories
2021-06-08 09:55:47 DEBUG (MainThread) [custom_components.hacs] <Plugin thomasloven/lovelace-auto-entities> Getting repository information
2021-06-08 09:55:47 DEBUG (MainThread) [custom_components.hacs] <Integration mrk-its/homeassistant-blitzortung> Getting repository information
2021-06-08 09:55:47 DEBUG (MainThread) [custom_components.hacs] <Plugin MrBartusek/MeteoalarmCard> Getting repository information
2021-06-08 09:55:47 DEBUG (MainThread) [custom_components.hacs] <Integration zachowj/hass-node-red> Getting repository information
2021-06-08 09:55:47 DEBUG (MainThread) [custom_components.hacs] <Integration ualex73/monitor_docker> Getting repository information
2021-06-08 09:55:47 DEBUG (MainThread) [custom_components.hacs] <Theme home-assistant-community-themes/aqua-fiesta> Getting repository information
2021-06-08 09:55:47 DEBUG (MainThread) [custom_components.hacs] <Plugin AitorDB/home-assistant-sun-card> Getting repository information
2021-06-08 09:55:47 DEBUG (MainThread) [custom_components.hacs] <Plugin kalkih/mini-graph-card> Getting repository information
2021-06-08 09:55:48 DEBUG (MainThread) [custom_components.hacs] <Integration mrk-its/homeassistant-blitzortung> Running checks against master
2021-06-08 09:55:48 DEBUG (MainThread) [custom_components.hacs] <Plugin thomasloven/lovelace-auto-entities> Running checks against 1.9.1
2021-06-08 09:55:48 DEBUG (MainThread) [custom_components.hacs] <Plugin MrBartusek/MeteoalarmCard> Running checks against v1.7.2
2021-06-08 09:55:48 DEBUG (MainThread) [custom_components.hacs] <Integration zachowj/hass-node-red> Running checks against v0.5.2
2021-06-08 09:55:48 DEBUG (MainThread) [custom_components.hacs] <Theme home-assistant-community-themes/aqua-fiesta> Running checks against v1.0
2021-06-08 09:55:48 DEBUG (MainThread) [custom_components.hacs] <Integration ualex73/monitor_docker> Running checks against 1.9
2021-06-08 09:55:48 DEBUG (MainThread) [custom_components.hacs] <Plugin AitorDB/home-assistant-sun-card> Running checks against v0.1.4
2021-06-08 09:55:48 DEBUG (MainThread) [custom_components.hacs] <Plugin kalkih/mini-graph-card> Running checks against v0.10.0
2021-06-08 09:55:48 DEBUG (MainThread) [custom_components.hacs] 'states' is undefined
2021-06-08 09:55:54 DEBUG (MainThread) [custom_components.hacs] Did not store data for 'hacs.critical'. Content did not change
2021-06-08 09:55:54 DEBUG (MainThread) [custom_components.hacs] Saving data
2021-06-08 09:55:54 DEBUG (MainThread) [custom_components.hacs] Did not store data for 'hacs.hacs'. Content did not change
2021-06-08 09:55:55 DEBUG (MainThread) [custom_components.hacs] Recurring background task for installed repositories done
2021-06-08 09:55:55 DEBUG (MainThread) [custom_components.hacs] Nothing in the queue
2021-06-08 09:55:55 INFO (MainThread) [custom_components.hacs] Stage changed: HacsStage.RUNNING
hacs-bot[bot] commented 3 years ago

Make sure you have read the issue guidelines and that you filled out the entire template.

ludeeus commented 3 years ago

HACS only add/removes files. You still have the integration configured.

attila123456 commented 3 years ago

How can I remove it? Thanks.

ludeeus commented 3 years ago

same way you added it

attila123456 commented 3 years ago

Ah, forgot to remove it from the integrations page.. thanks!