frontend icon indicating copy to clipboard operation
frontend copied to clipboard

Cannot Delete ZHA ophaned devices

Open nightmare1111 opened this issue 1 year ago • 1 comments

Checklist

  • [X] I have updated to the latest available Home Assistant version.
  • [X] I have cleared the cache of my browser.
  • [X] I have tried a different browser to see if it is related to my browser.
  • [X] I have tried reproducing the issue in safe mode to rule out problems with unsupported custom resources.

Describe the issue you are experiencing

I have some orphaned devices in ZHA that i cant delete, i have read that i could do a service zha.remove however i dont know if that is possible as i cannot see the ieee address

Describe the behavior you expected

i would expect to see a remove or delete link under device information

Steps to reproduce the issue

1.go to zha 2.select device 3. these orphaned devices do not have the "reconfigure link" Screenshot 2024-10-17 134240

...

What version of Home Assistant Core has the issue?

2024.10.2

What was the last working version of Home Assistant Core?

No response

In which browser are you experiencing the issue with?

No response

Which operating system are you using to run this browser?

windows 11

State of relevant entities

unavailable

Problem-relevant frontend configuration

No response

Javascript errors shown in your browser console/inspector

No response

Additional information

No response

nightmare1111 avatar Oct 17 '24 12:10 nightmare1111

I might open this issue under home-assistant/core for the ZHA integration. I'm not sure if there's anyway for frontend to initiate a delete of this.

It looks like the device seems to be orphaned from the zigbee coordinator, and as such we don't get anything like the ieee address for it. And ZHA doesn't give us any API to delete the device without the ieee address.

So I think ZHA core would need to look at this to see how they can support removing an orphan device, at the moment doesn't seem possible from the frontend.

karwosts avatar Oct 17 '24 17:10 karwosts

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. Please make sure to update to the latest Home Assistant version and check if that solves the issue. Let us know if that works for you by adding a comment 👍 This issue has now been marked as stale and will be closed if no further activity occurs. Thank you for your contributions.

github-actions[bot] avatar Jan 15 '25 19:01 github-actions[bot]

Still the same after updating to 2025.1

Is it possible to delete these in the configuration.yaml

nightmare1111 avatar Jan 16 '25 22:01 nightmare1111

Could you open a Core issue https://github.com/home-assistant/core/issues ?

In the issue, could you also enable ZHA debug logging, try deleting the device, and then disable ZHA debug logging to download a log?

puddly avatar Feb 19 '25 14:02 puddly

I'm closing this. The core integration determines if there is a remove button

MindFreeze avatar Feb 19 '25 15:02 MindFreeze