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
73.2k stars 30.57k forks source link

Some TP-Link Kasa Devices have Multiple Integrations listed under Device Info #111550

Closed jeprice77 closed 5 months ago

jeprice77 commented 8 months ago

The problem

I have several TPLink devices and was trying to delete an older unused device, but it would not delete. The entities attached to the device would delete but the device was left and listed as a device with no entities. I then noticed that it had multiple TPLink integrations attached to it. I have attached screenshots of a couple devices. Not sure how multiple integrations got attached to a device but some of my devices have 1 integration while others may have 3 or 4. Attached is a screenshot where there is only 1 integration and another that has 4. Seems the devices with multiple integrations can't be deleted but the entities do delete. Thanks,

What version of Home Assistant Core has the issue?

2024.1.6

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

TP-Link Kasa Smart

Link to integration documentation on our website

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

Diagnostics information

No response

Example YAML snippet

No response

Anything in the logs that might be useful for us?

No response

Additional information

home-assistant[bot] commented 8 months ago

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

Code owner commands Code owners of `tplink` 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 tplink` 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)


tplink documentation tplink source (message by IssueLinks)

bdraco commented 8 months ago

was fixed by https://github.com/home-assistant/core/pull/98784

https://github.com/home-assistant/core/issues/97457#issuecomment-1694717672

Fix will be in 2023.9.x

The fix will only prevent the problem from happening again. You'll have to remove all previously affected devices and readd them to fix the cross-linkage, but the problem should not reoccur after 2023.9.x

jeprice77 commented 8 months ago

I can't seem to remove the devices that have multiple integrations. Is there away to delete these devices? Thanks

issue-triage-workflows[bot] commented 5 months ago

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.