-
Notifications
You must be signed in to change notification settings - Fork 516
Matter Switch: Update Vendor Overrides #2480
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
Conversation
|
Channel deleted. |
Test Results 71 files 459 suites 0s ⏱️ Results for commit 118fe38. ♻️ This comment has been updated with latest results. |
|
Minimum allowed coverage is Generated by 🐒 cobertura-action against 118fe38 |
drivers/SmartThings/matter-switch/src/test/test_multi_switch_parent_child_lights.lua
Outdated
Show resolved
Hide resolved
drivers/SmartThings/matter-switch/src/utils/device_configuration.lua
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice job
620966c to
ec112fe
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
Description of Change
I updated/consolidated the vendor override logic so it is cleaner.
This could be removed, but I also added a
get_endpoints_by_device_typehelper function in this PR. It could be done separately, but I think the changed logic here is very obvious.Summary of Completed Tests
Since this only affects device behavior that is specifically gated by an override, unit tests properly show that all cases are still supported.
Piggy-backing the
get_endpoints_by_dtfunction addition, I have updated thetest_matter_bridgefunction since the original version did not catch a bug that I later patched.