-
Notifications
You must be signed in to change notification settings - Fork 523
Matter Switch: Improve battery profiling #2724
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
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
|
Channel deleted. |
nickolas-deboom
commented
Jan 21, 2026
Test Results 71 files 483 suites 0s ⏱️ Results for commit 14b331e. ♻️ This comment has been updated with latest results. |
|
Minimum allowed coverage is Generated by 🐒 cobertura-action against b17cb98 |
nickolas-deboom
commented
Jan 21, 2026
nickolas-deboom
commented
Jan 21, 2026
drivers/SmartThings/matter-switch/src/switch_utils/device_configuration.lua
Show resolved
Hide resolved
hcarter-775
reviewed
Jan 21, 2026
hcarter-775
reviewed
Jan 21, 2026
hcarter-775
reviewed
Jan 21, 2026
drivers/SmartThings/matter-switch/src/switch_handlers/attribute_handlers.lua
Outdated
Show resolved
Hide resolved
hcarter-775
reviewed
Jan 21, 2026
drivers/SmartThings/matter-switch/src/switch_handlers/attribute_handlers.lua
Outdated
Show resolved
Hide resolved
hcarter-775
reviewed
Jan 21, 2026
drivers/SmartThings/matter-switch/src/switch_handlers/attribute_handlers.lua
Outdated
Show resolved
Hide resolved
hcarter-775
reviewed
Jan 21, 2026
drivers/SmartThings/matter-switch/src/switch_utils/device_configuration.lua
Outdated
Show resolved
Hide resolved
drivers/SmartThings/matter-switch/src/switch_utils/device_configuration.lua
Outdated
Show resolved
Hide resolved
drivers/SmartThings/matter-switch/src/switch_handlers/attribute_handlers.lua
Outdated
Show resolved
Hide resolved
48c5b71 to
ac6e8e6
Compare
hcarter-775
reviewed
Jan 26, 2026
drivers/SmartThings/matter-switch/src/test/test_matter_multi_button.lua
Outdated
Show resolved
Hide resolved
hcarter-775
reviewed
Jan 27, 2026
hcarter-775
reviewed
Jan 28, 2026
155c0be to
b0ab7ba
Compare
hcarter-775
approved these changes
Jan 28, 2026
15a0459 to
316d0e0
Compare
This implements a few changes to the way that devices supporting batteries are profiled: * subscribe to PowerSource.AttributeList rather than reading this attribute, to help prevent failed reads from causing issues with device profiling * update the profile within match_profile rather than power_source_attribute_list_handler * use existing structure for handling waiting for profiling data before attempting a profile update
316d0e0 to
b17cb98
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This implements a few changes to the way that devices supporting batteries are profiled:
PowerSource.AttributeListrather than reading this attribute, to help prevent failed reads from causing issues with device profilingmatch_profilerather thanpower_source_attribute_list_handler