-
Notifications
You must be signed in to change notification settings - Fork 302
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: Detect HA matter bridge association #2792
Conversation
Avoid deep nesting by building a dict of appliances and iterating over its values. A dict is used to allow appliance checks to look up other appliances as part of their evaluation.
Detect the association between leaf appliances and bridge appliances, and detect known HA matter bridges using the bridge appliance. This allows us to more robustly detect known bridges instead of relying on particular bridge behaviors, and can allow easily filtering all matter bridges altogether. Related: alandtse#2709
Pull Request Test Coverage Report for Build 12657356426Details
💛 - Coveralls |
Tested and confirmed working!
etc., etc. |
Well I guess it doesn't have to be a draft then. :) Thanks for testing! |
This is an entirely untested take on @danielbrunt57's idea from #2709 (comment).
I do not own any Alexa devices and have no means to run or test this, hence draft. My incentive for making this PR is to allow home-assistant-matter-hub to correctly report bridged device vendor names (which should be the vendor of the device, not the bridge), which would invalidate the existing workaround.
Prior discussion: #2709
Prior PR: #2730