-
-
Notifications
You must be signed in to change notification settings - Fork 10
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 entities for proxies that no longer exist #214
Comments
this is not a bermuda question but a home assistant question. And here is your answer: https://community.home-assistant.io/t/cannot-delete-entities/620838 |
Hi @bradsjm, apologies for the delay - I have been on another (non-tech) project pretty much full-time for the past two weeks. I think @bruvv might be right about it being a HA thing, but I wouldn't recommend the process in that link (editing the config entity files) as it's a bit error-prone. What happens when you try to delete the entities? Typically you'd see something like this: and clicking on the cog you'd get a dialog like this with the delete option: If you're not seeing something like that perhaps you can post some screenshots of what's going on? |
Ah ok, so you had a proxy called office_standing_desk, and have since removed it. But the joules_ibeacon device still has an entity for the distance to that proxy. Bermuda will create (but not enable) an entity for the distance to each known proxy. If Bermuda is still creating that entity it implies that it must still think it has data from that proxy (or it hasn't been restarted since the proxy was removed, but it should still pick up on it even in that case). I would expect (but have not tested) that if you disable the entity, it should eventually disappear. But then, I'd have also expected it to be able to be deleted, so what do I know! 🤣 I'll do some testing here when I have a chance and see if I can replicate it. |
[deleted as being not helpful and wasting too much space] |
for real guys this is not a bermuda issue please see my first post in this issue. |
I get your point, but manually editing the It's just a suggestion, and @agittins can decide whether to implement it or not. It doesn't need to be a high priority, but it could improve the overall experience. |
@jleinenbach I'm going to have to insist that you not post any further suggestions from chatGPT or other large language model AIs to this project. By all means use it to help you when creating a PR, but please don't use them to solve a problem and suggest a fix - the result is a heap of info that takes me a long time to assess because it looks legit, but is full of shit. The generated "solution" does not work how HA works, which is bad enough - but it takes me time to assess whether it's bogus or not, and I can't afford that and it causes me anxiety and frustration. Going forward I am going to take a fairly hard line approach on this because it just sucks my time away and it drains me of motivation and joy. If you'd like to contribute, I'd suggest having a go at replicating the issue - my previous comment above is pretty clear on the steps to take. If you can replicate it, then do a "download diagnostics" after replicating it, and write up (in your own words, please) your observations. Feel free to offer your (own) conclusions afterwards, but it's really the observations that are key. @bruvv you might be right but I am not convinced. I suspect that Bermuda is still defining the entity which would cause it to be re-created at startup anyway. |
following this topic as i have this issue as well and would like to get rid of those distance_to"proxies i no longer have" |
As workaround, there is the custom HACS integration "Spook," available here: This integration includes a service to remove those entities: Use at your own risk. :-) |
@bradsjm so i was able to remove all the non-existent BT proxies i no longer had and the "distance_to" entities that were created. and this is what i did:
|
Love this solution, much better than anything else I've tried.
I don't seem to be able to delete the entities for previous proxies even if the proxy device itself has been removed.
The "Distance to XXX" and "Unfiltered Distance to XXX" entities can only be hidden for each device. Is there a way to actually remove legacy proxy entities?
The text was updated successfully, but these errors were encountered: