Skip to content
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

Add TUO for Contact Sensor Driver #933

Merged
merged 2 commits into from
Sep 29, 2023

Conversation

sam-gabbay
Copy link
Contributor

No description provided.

@CLAassistant
Copy link

CLAassistant commented Aug 25, 2023

CLA assistant check
All committers have signed the CLA.

@sam-gabbay sam-gabbay changed the title Update fingerprints.yml Add TUO for Contact Sensor Driver Aug 25, 2023
@github-actions
Copy link

github-actions bot commented Aug 28, 2023

Channel deleted.

@github-actions
Copy link

github-actions bot commented Aug 28, 2023

Test Results

     52 files     338 suites   0s ⏱️
1 602 tests 1 602 ✔️ 0 💤 0
2 763 runs  2 763 ✔️ 0 💤 0

Results for commit 05533bd.

♻️ This comment has been updated with latest results.

@github-actions
Copy link

github-actions bot commented Aug 28, 2023

Minimum allowed coverage is 90%

Generated by 🐒 cobertura-action against 05533bd

@lelandblue
Copy link
Contributor

Hello @sam-gabbay. Thank you for your pull request. Please sign the CLA.

Have a good day.

@sam-gabbay
Copy link
Contributor Author

@lelandblue it has been signed, I am not sure why it is showing as not signed yet.

@lelandblue
Copy link
Contributor

Thanks @sam-gabbay I will take a look.

Also, this PR will need changes before we can continue with WWST for this device. Currently in the PR I am not seeing the full addition of a device-specific fingerprint. Please take a look here at our documentation for further guidance https://developer.smartthings.com/docs/devices/hub-connected/driver-components-and-structure#matter

@sam-gabbay
Copy link
Contributor Author

@lelandblue updated. Please let me know if this is what you needed.

Copy link
Contributor

@ctowns ctowns left a comment

Choose a reason for hiding this comment

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

One small change, otherwise this looks good

- id: "TUO/ContactDoorAndWindow"
deviceLabel: TUO Contact Sensor
vendorId: 0x141E
productId: 0x02
Copy link
Contributor

Choose a reason for hiding this comment

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

Could you add the leading zeros to the productId so it has 4 digits like the other examples? e.g.
productId: 0x0002

@sam-gabbay
Copy link
Contributor Author

Done @ctowns

@sam-gabbay
Copy link
Contributor Author

@ctowns @lelandblue can you advise what is needed at this point?

@ctowns
Copy link
Contributor

ctowns commented Aug 31, 2023

@sam-gabbay Can you please sync your forked repo with the latest from the main repo so that the units tests will pass?

@sam-gabbay
Copy link
Contributor Author

@ctowns Done!

@ctowns
Copy link
Contributor

ctowns commented Aug 31, 2023

@ctowns Done!

Thanks @sam-gabbay! All tests are passing now, this looks good to me.

@lelandblue
Copy link
Contributor

Hello @TUOAccessoriesCI Can you please sign the CLA please? We will need that signed before we can merge the code.

Thank you.

@TUOAccessoriesCI
Copy link
Contributor

@lelandblue Done

@lelandblue lelandblue merged commit 105c705 into SmartThingsCommunity:main Sep 29, 2023
14 checks passed
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.

5 participants