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
71.15k stars 29.83k forks source link

Number of Devolo devices is not displayed correctly #123437

Open etofi opened 1 month ago

etofi commented 1 month ago

The problem

I have 5 Devolo devices in use. They are all found and listed, but it says at the top left that there are only 4 devices. grafik

In the detailed list there are only 4 pieces - the device "devolo-Magic-2-LAN-1-1-Schlafzimmer" is missing. grafik

What version of Home Assistant Core has the issue?

core-2024.8.0

What was the last working version of Home Assistant Core?

No response

What type of installation are you running?

Home Assistant Container

Integration causing the issue

devolo_home_network

Link to integration documentation on our website

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

Diagnostics information

config_entry-devolo_home_network-01J4V44ADNMC34QWCFFMWAR331.json

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 1 month ago

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

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


devolo_home_network documentation devolo_home_network source (message by IssueLinks)

Shutgun commented 1 month ago

Hi @etofi , I assume the counting and filtering works different than expected. It's core functionality and nothing the integrations can influence (at least not that I know). I'm having 5 devolo devices and the top left talks about 23. That's because the device tracker functionality of your (and my) WiFi mini detects devices that other integrations also detected (in my case the AVM FRITZ!Box Tools integration) and merges them.

I guess, if you remove the filter and then search for Schlafzimmer in your device overview, you will find the device somehow hijacked by an other integration.

prmfeddema commented 1 week ago

It seems that devolo integration is also hijacking SONOS. Disabling Devolo completely disables the device too (it has nothing to do with Devolo).

Update: i found a workaround by deleting the devices in the Devolo integration (including real devolo device) and the adding the teal devolo device again. This seems to work now - will check later to see whether non-devolo devices have been included again or not.

Shutgun commented 1 week ago

Just that I get you right: you are talking about this, correct? In that case please read https://github.com/home-assistant/core/issues/117368#issuecomment-2118829775 and reconsider what you call "unacceptable".

prmfeddema commented 1 week ago

Hi Guido,I already found a workaround - and yes - i’ll change the comment :-)Kind regardsPascalVerstuurd vanaf mijn iPhoneOp 1 sep 2024 om 17:10 heeft Guido Schmitz @.***> het volgende geschreven: Just that I get you right: you are talking about this, correct? In that case please read #117368 (comment) and reconsider what you call "unacceptable".

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you commented.Message ID: @.***>

prmfeddema commented 1 week ago

Just that I get you right: you are talking about this, correct? In that case please read https://github.com/home-assistant/core/issues/117368#issuecomment-2118829775 and reconsider what you call "unacceptable".

No - this seems to be different. My tasmato device included correctly in tasmota but suddenly a second integration (devolo) showed up. Removing the device the device from tasmota integration works, but the device is still there in the Devolo integration - and it cannot be deleted from the device entry. What i did is go back to the devolo devices overview and deleted the whole group (which includes sonos and real devolo devices). That went well after which i added the 1 real devolo device.

Shutgun commented 1 week ago

I still think this is how the device registry of HA works. As long as the device tracker platform is on its own, it's simply another entity for the devolo integration. As soon as the MAC can be matched to a second (or more) integrations, it merges the information it has. Unfortunately not all integrations deliver nice device info and then it looks unexpected like in your case.