-
Notifications
You must be signed in to change notification settings - Fork 498
Update new-matter-lock driver #1911
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
Update new-matter-lock driver #1911
Conversation
Duplicate profile check: Passed - no duplicate profiles detected. |
Channel deleted. |
Test Results 64 files ±0 415 suites ±0 0s ⏱️ ±0s Results for commit b3091c7. ± Comparison against base commit 3dd1b23. This pull request removes 3 and adds 12 tests. Note that renamed tests count towards both.
♻️ This comment has been updated with latest results. |
Minimum allowed coverage is Generated by 🐒 cobertura-action against b3091c7 |
ad6655a
to
6ebe1a5
Compare
Can you add a unit test to ensure the battery profiling works as expected for these new profiles? |
should we close this PR then? https://github.com/SmartThingsCommunity/SmartThingsEdgeDrivers/pull/1880/files |
@hcarter-775 |
4a8a036
to
ac1c841
Compare
@hcarter-775
As above error log, There's a problem that lua_libs doesn't support deviceConfig in profile files. We need to update lua_libs to solve this issue. |
Signed-off-by: Hunsup Jung <[email protected]>
ac1c841
to
bb2ccaf
Compare
It looks like the issue is from the |
Signed-off-by: Hunsup Jung <[email protected]>
Signed-off-by: Hunsup Jung <[email protected]>
@nickolas-deboom @hcarter-775 |
version: 1 | ||
visibleCondition: { | ||
"capability": "lock", | ||
"version": "1", |
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.
Hey @HunsupJung , thank you for adding unit tests. Have you tested these changes on a physical lock after making the update to visibleCondition
?
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.
Yes, you can see the test result of at following link.
https://smartthings.atlassian.net/wiki/spaces/DLT/pages/3713564956/Nuki+door+lock+testing#Test-to-add-visibleCondition
I added vid/pid of Nuki to this PR on the test. If we want Nuki operates as like the result, vid/pid of Nuki need to be added to new-matter-lock driver.
Type of Change
Checklist
Description of Change
Issue
User is allowed to lock or unlock from the device card if door lock status is unlatched, but user is not allowed to do the same from Plugin.
Solution
Add Visible Condition to the profiles that have unlatched status
Changes
Add Visible Condition to the profiles that have unlatched status
Add some profiles for unlatch feature
Summary of Completed Tests