Skip to content

Conversation

hcarter-775
Copy link
Contributor

@hcarter-775 hcarter-775 commented Oct 3, 2025

Description of Change

On top of checking whether a profile id has changed, this checks whether the stored profile.components has changed, specifically for hubs on 0.58 or greater. This would be useful for a modular profile update where the id has not changed, but new optional capabilities are included in the inventory sync. (For example, permitting a modular fingerprint in some cases).

Summary of Completed Tests

Tested by adding a lock-modular fingerprint on a driver running on the hub 58 FW. When the profile update occurred, I confirmed the subscription updated in the infoChanged as expected.

Regression tested by onboarding a device on the existing base-lock fingerprint and checking for the same results as the above.

Copy link

github-actions bot commented Oct 3, 2025

Copy link

github-actions bot commented Oct 3, 2025

Test Results

   71 files    454 suites   0s ⏱️
2 354 tests 2 353 ✅ 0 💤 0 ❌ 1 🔥
3 977 runs  3 976 ✅ 0 💤 0 ❌ 1 🔥

For more details on these errors, see this check.

Results for commit b249b8c.

Copy link

github-actions bot commented Oct 3, 2025

File Coverage
All files 72%
/home/runner/work/SmartThingsEdgeDrivers/SmartThingsEdgeDrivers/drivers/SmartThings/matter-lock/src/init.lua 92%
/home/runner/work/SmartThingsEdgeDrivers/SmartThingsEdgeDrivers/drivers/SmartThings/matter-lock/src/lock_utils.lua 98%
/home/runner/work/SmartThingsEdgeDrivers/SmartThingsEdgeDrivers/drivers/SmartThings/matter-lock/src/new-matter-lock/init.lua 65%

Minimum allowed coverage is 90%

Generated by 🐒 cobertura-action against b249b8c

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.

1 participant