WTH, why cannot I factory reset home assistant from the GUI?

It would be helpful if there was an option to “factory reset” home assistant from the front end web interface. I shouldn’t have to gain access to the file system to reset.

This in particular is helpful for those who want to create a home assistant instance at home on a mini pc, and then move it to another house.

There’s a few separate topics on this around the forums, and @brianjmurrell made some good arguments for doing so here: Home assistant Factory Reset

Isn’t this asking the ability to delete the config? Why would you want remote ability to do that?

1 Like

However this is implemented, local and admin access should be required to factory reset.

Imagine a partner nuking your setup on their phone from work or a child from a wall mounted dashboard…

Why do you have the ability to factory reset your phone? Why can you factory reset a TV? Why can you factory reset zwave devices? Why can you factory reset car settings? It’s 2024, I shouldn’t have to figure out how to SSH into my HA instance to delete configuration files.

Because firmware reinstall is not a manufacturer supported option.

This is also never an option available remotely except phones where theft is possible.

I don’t belive you are wrong, just want to understand your use case more but maybe it’s not my place to ask

The only way you can access HA locally installed on a mini pc is by hooking up a monitor and keyboard, and even if you did you did there’s no clear option or command to factory reset it.

My use case was a one off, installing HA on a intel nuc, logging in to make sure it runs, and then realizing I need to basically wipe the whole thing again because it picked up a bunch of IoT devices on my network automatically. But I’m not the only person looking for this option.

I’m all for empowering the end user, having to overwrite the install or SSH just to reset is not user friendly.

The answer to that would be to restrict reset to the “owner” user only and require the password for factory reset, maybe throw in the 2 factor auth code if enabled.

1 Like