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
69.74k stars 28.9k forks source link

Matter Server -> Ikea Dirigera -> adding new Bulb -> wrong name #118120

Closed RaHehl closed 1 day ago

RaHehl commented 1 month ago

The problem

If i add a new lightbulb via Ikea Smart Home app to my Dirigera bridge it's found by the matter integration but it doesn't get added with the correct name, instead using the name i've given adding the lamp it get's added with the type like "TRADFRIbulbE27WWclear250lm" To fix this i have to restart the Matter Python Server

What version of Home Assistant Core has the issue?

core-2024.5.5

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

Matter

Link to integration documentation on our website

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

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

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

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


matter documentation matter source (message by IssueLinks)

marcelveldt commented 1 month ago

This is most likely an issue in the Ikea Hub. It should hold off informing the Matter controller about the new bridged endpoint until the name is set. So now you run into the race condition that the name is set after its already processed.