Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to remove multiple Devices and Entities #767

Open
tOsaer opened this issue Dec 11, 2024 · 2 comments
Open

How to remove multiple Devices and Entities #767

tOsaer opened this issue Dec 11, 2024 · 2 comments

Comments

@tOsaer
Copy link

tOsaer commented Dec 11, 2024

Hi,

This is not the first time, but sometimes Browser Mod seems to be "looping" and creating plenty of devices and entities.
Last time I had this, I had to remove Browser Mod and delete them all one by one... which was a very very long task.

How can I remove this devices and entities? and how can I prevent them from being created?

image

(I am probably missing something? But tried to search for it, without luck)

Thanks in advance

@tOsaer
Copy link
Author

tOsaer commented Dec 11, 2024

I finally found how to get rid of the all the devices after I removed the integration.

In fact, when you remove the integration, the devices/entities are removed, but if you install browser mod again and you go to browser mod tab, they are all still there.

If you go via samba to \192.168.x.x\config.storage you will find the file browser_mod.storage
When I delete it, restart HA and install browser mod again. Everything looks cleaned!

@douginoz
Copy link

douginoz commented Dec 16, 2024

The file is located in the config/.storage folder. This may not appear if you connect via samba (it's a dot folder) and doesn't appear when using the HASS terminal. Just go into the config folder then cd .storage to get there.

Delete or rename browser_mod.storage and restart HASS. You would also want to either disable browser_mod if you're not using it, or change the settings that are causing this.

If you still have the devices in your configuration, you can delete the home assistant database file and reboot. Note that doing so will mean all historical data, such as state changes, logs, and trends, will be erased. This includes the history of all entities, not just the unwanted ones.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants