Why can HA still read user information after I delete the db file?

In the mac environment, I deleted the file ~/.homeassistant/home-assistant_v2.db. Why can the home assistant still read the previously authorized user information when it restarts? And it can also regenerate the file ~/.homeassistant/home-assistant_v2.db. Are there any other stored files?

please help , thanks!

The database is for history and statistics.
All other information is stored in “json” files which are located in the .storage sub-directory in config.

Users are not meant to touch these hence they are in a hidden directory.

OK, I saw it, thank you very much!

What are you ACTUALLY trying to accomplish? Maybe someone has a suggestion?

1 Like

I just want to debug the configuration flow of adding my integration by scanning the QR code on the web page, and I am also curious about which file the user information is stored in.


1 Like