home-assistant / core

:house_with_garden: Open source home automation that puts local control and privacy first.
https://www.home-assistant.io
Apache License 2.0
70.95k stars 29.61k forks source link

Cannot delete devices from Integration #116974

Open sanketgroup opened 3 months ago

sanketgroup commented 3 months ago

The problem

Hello I have integrated CoolMasterNet.

I want to delete few devices which are actually not connected with CoolMasterNet anymore.

However I do not see any option to delete individual devices under this integration. I deleted all the entities under the device, but still device appears in list.

I do not want to delete integration and re-integrate as it will make a long list of things to do again.

Below is the screenshot and there is no option to delete the device. Please resolve this bug.

image

image

image

What version of Home Assistant Core has the issue?

core-2024.5.1

What was the last working version of Home Assistant Core?

No response

What type of installation are you running?

Home Assistant OS

Integration causing the issue

CoolMasterNet

Link to integration documentation on our website

https://www.home-assistant.io/integrations/coolmaster/

Diagnostics information

No response

Example YAML snippet

No response

Anything in the logs that might be useful for us?

No response

Additional information

No response

home-assistant[bot] commented 3 months ago

Hey there @onfreund, mind taking a look at this issue as it has been labeled with an integration (coolmaster) you are listed as a code owner for? Thanks!

Code owner commands Code owners of `coolmaster` can trigger bot actions by commenting: - `@home-assistant close` Closes the issue. - `@home-assistant rename Awesome new title` Renames the issue. - `@home-assistant reopen` Reopen the issue. - `@home-assistant unassign coolmaster` Removes the current integration label and assignees on the issue, add the integration domain after the command. - `@home-assistant add-label needs-more-information` Add a label (needs-more-information, problem in dependency, problem in custom component) to the issue. - `@home-assistant remove-label needs-more-information` Remove a label (needs-more-information, problem in dependency, problem in custom component) on the issue.

(message by CodeOwnersMention)


coolmaster documentation coolmaster source (message by IssueLinks)

OnFreund commented 3 months ago

I don't believe HA provides a UI mechanism to delete devices...

OnFreund commented 3 months ago

Correction, there is a mechanism. I'll look into it.

epenet commented 3 months ago

Here is an sample PR to allow manual removal: https://github.com/home-assistant/core/pull/116229 In that PR, I first make sure that the device is no longer listed by Renault in the vehicule listing.

sanketgroup commented 2 months ago

@OnFreund any update on this issue?

OnFreund commented 2 months ago

Didn't get a chance to deal with this yet