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
Removed Chromecast devices only remove entities and not devices #40274
Comments
Hey there @emontnemery, mind taking a look at this issue as its been labeled with an integration ( |
First of all, the issue description is a bit unclear: the entity state is not removed just because a cast device disappears from the network. Instead, the entity will be marked as unavailable. @jokerigno please elaborate a bit more on what you expect to happen and when, for example a step by step scenario with what you do and what you expect to happen. |
I can understand the need to be able to remove a device without manually editing the device registry though, is that what you're after? |
Yes definitely, sorry for the ambiguity. Let me give you some additional info with 2 scenarios:
|
Any update on this? |
This can be implemented in the same way as device removal for MQTT: A custom WS API + custom device card for the frontend. A PR would be most welcome. |
Unfortunately I'm not a programmer so I don't know how to do it. I hope in a good samaritan during the hacktoberfest :) |
Any update on this? My google nest mini has problem. It looses wifi connection. The only way to make it work again, is a factory reset. But, in HA, a new device is created every time. So, now i have about 7 devices (and counting) of the nest mini. Only one is correct. I see no way how to remove the other devices. The entitities, I could remove, but not the device. |
Implemented in two PRs: backend #43635 + frontend home-assistant/frontend#7817. |
Hi @emontnemery, last week I changed my (cast enabled) soundbar, and tried to remove the old device. I couldn't, and that makes sense as the attached PR seems to be closed because of 'stale', instead of merged. Any chance there will be functionality built in to remove devices? Or is my best option to grab a text editor and go into .storage? |
Ah, I did not catch that discussion. Thanks for answering! |
There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates. |
The problem
When a device is no longer availabe the Chromecast integration removes the entity for that device, but doesn't remove the device (which cannot be manually deleted as far as I can tell) via GUI, only manually via .storage.
Environment
Problem-relevant
configuration.yaml
Traceback/Error logs
Additional information
The text was updated successfully, but these errors were encountered: