info4hx4
(John)
1
I forgot to turn off BLE tracker, and now I have alike a centillion BT & BLE entities.
I have removed them from the known_entities.yaml, but they still persist in the entities list, and there is no direct way to remove them.
I read that the HACS integration Home Assistant Registry can delete them, and I see in the documentation that it can.
I just do not know where to place and how to ‘execute’ the service: ha_registry.remove_entity
.
Also, a side question - is there a way to export entities from the web interface, or just form the known_devices.yaml
?
Thanks!
tom_l
2
If it is something you will run a lot for the same device then use a script.
If that does not apply then just run the service in Developer Tools → Services Actions
info4hx4
(John)
3
Thank you.
I try to execute the following
service: ha_registry.remove_entity
data:
entity_id:
- device_tracker.itag2
but get the error
Action ha_registry.remove_entity not found.
I noticed that the Github site has service: ha_registry.remove_entity
, while the info page in HACS is service: ha_registry.updateremove_entity_entity
.
I also tried where I replaced service:
with action:
to no avail. Re-installed HA Registry, and checked files, still same error.
Any other thoughts?
tom_l
4
Sounds like the integration was not correctly installed.
info4hx4
(John)
5
Thanks. I will try to uninstall and reinstall manually.