Skip to content

Conversation

@nickolas-deboom
Copy link
Contributor

@nickolas-deboom nickolas-deboom commented Jan 21, 2026

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

@github-actions
Copy link

github-actions bot commented Jan 21, 2026

Channel deleted.

@github-actions
Copy link

github-actions bot commented Jan 21, 2026

Test Results

   71 files    483 suites   0s ⏱️
2 497 tests 2 497 ✅ 0 💤 0 ❌
4 286 runs  4 286 ✅ 0 💤 0 ❌

Results for commit 14b331e.

♻️ This comment has been updated with latest results.

@github-actions
Copy link

github-actions bot commented Jan 21, 2026

Minimum allowed coverage is 90%

Generated by 🐒 cobertura-action against b17cb98

@nickolas-deboom nickolas-deboom force-pushed the matter-switch-improve-battery-profiling branch from 48c5b71 to ac6e8e6 Compare January 21, 2026 21:48
@nickolas-deboom nickolas-deboom force-pushed the matter-switch-improve-battery-profiling branch from 155c0be to b0ab7ba Compare January 28, 2026 17:39
@nickolas-deboom nickolas-deboom force-pushed the matter-switch-improve-battery-profiling branch 4 times, most recently from 15a0459 to 316d0e0 Compare February 2, 2026 21:53
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
@nickolas-deboom nickolas-deboom force-pushed the matter-switch-improve-battery-profiling branch from 316d0e0 to b17cb98 Compare February 2, 2026 21:53
@nickolas-deboom nickolas-deboom merged commit a16ab77 into main Feb 2, 2026
2 of 7 checks passed
@nickolas-deboom nickolas-deboom deleted the matter-switch-improve-battery-profiling branch February 2, 2026 21:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants