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

Mass remove unavailable entities? #311

Closed
Plawasan opened this issue Sep 9, 2024 · 1 comment
Closed

Mass remove unavailable entities? #311

Plawasan opened this issue Sep 9, 2024 · 1 comment

Comments

@Plawasan
Copy link

Plawasan commented Sep 9, 2024

I've set up Remote assistant between my Prod instance and my test instance (remote) to be able to use multiple instances of an integration that can only support a single device per HA instance (OCPP for my EV chargers). While this works, somewhere during the installation process I've managed to pull ALL entities from my remote instance into the main one. Now that I've created the hopefully correct filters, I'm stuck with ~370 unavailable entities that I can only remove one by one.

I've tried reloading and then even removing the integration, uninstalling it from HACS but the zombie entities are still there.

Is there a smarter way to get rid of them than dedicating an afternoon to clicking? (And no, leaving them is not an option, they make my eye twitch).

Thanks!

For reference here's my config, my goal was to only bring over the entities that I explicitly list in step 2 (nothing is defined in step 3/4)

image
image
(here I know I should remove the light domain)

@Plawasan
Copy link
Author

Plawasan commented Sep 9, 2024

I've realized I can do this via the new filters/checklists in HA however it would make sense to include the filter setup in the initial setup flow for the integration, same as it was suggested in #305

@Plawasan Plawasan closed this as completed Sep 9, 2024
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

1 participant