Can't remove integration

Hi! I am trying to re-add the SMHI-integration due to some problems i’ve got with it but whenever I press the trash-icon from the integrations-page nothing happens, nor can I add the integration again. I got this log: “Error occurred loading configuration flow for integration smhi: No module named ‘smhi’”. It seems like some parts of the system still recognize the integration while others do not. Has anyone encountered this before? Thanks!

Edit: I solved it by adding smhi to custom_components

1 Like

I’m having the same issue. I’m a total newbie to Home assistant so can you explain how you added it to custom_components?

First, locate the folder custom_components from the configurator (config/custom_components). Create a new folder called ‘smhi’, then go to GitHub and download these files: https://github.com/home-assistant/core/tree/dev/homeassistant/components/smhi. Upload the files via the configurator into the ‘smhi’-folder, you need to create a subfolder called ‘.translations’ for the ‘sv.json’ file. Save and restart Home-Assistant. Now go to integrations and you should be able to remove your current integration and create a new to.

3 Likes

It worked! Thanks for the help :slight_smile: