enode icon indicating copy to clipboard operation
enode copied to clipboard

Deinstallation does not remove the data completely

Open aerucu opened this issue 1 year ago • 3 comments

I couldn't finish configuring Enode because I couldn't set up an asset yet. When I open Enode again, I get to the screen where you have to enter the user ID. But I want to set up Enode from scratch.

When I uninstall Enode in HACS, permanently delete the custom_components/enode directory, and restart Home Assistant, the data I entered previously is still not deleted, and I am taken back to the screen where I have to enter the user ID.

How can I completely delete Enode, including the data I entered, and start the setup from scratch?

aerucu avatar Aug 24 '25 18:08 aerucu

I now now how to solve the Problem. Open the terminal and execute rm -R /config/.storage/application_credentials. Then restart Home Assistant. Now you can configure Enode from scratch.

aerucu avatar Aug 25 '25 20:08 aerucu

This will also remove any other application credentials, at least for me, not only enode is using that file. So I think the integration needs to clean up more thoroughly. :) i think we should reopen

bachjessen avatar Nov 10 '25 10:11 bachjessen

Just weighing in. The application credentials are not handled by the Enode integration but rather Home Assistant's OAuth system. There is much that can be done from the integration side, only delete it, re-add and configure it.

evilmarty avatar Nov 16 '25 21:11 evilmarty