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    455 suites   0s ⏱️
2 355 tests 2 355 ✅ 0 💤 0 ❌
3 978 runs  3 978 ✅ 0 💤 0 ❌

Results for commit d891f62.

♻️ This comment has been updated with latest results.

Copy link

github-actions bot commented Oct 3, 2025

File Coverage
All files 72%
/home/runner/work/SmartThingsEdgeDrivers/SmartThingsEdgeDrivers/drivers/SmartThings/matter-lock/src/new-matter-lock/init.lua 65%
/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%

Minimum allowed coverage is 90%

Generated by 🐒 cobertura-action against d891f62

@@ -1,27 +0,0 @@
id: lockAlarm
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this capability now exists and is used throughout the driver using an updated definition. Removing this embedded def that is only used in the test files.

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.

2 participants