-
Notifications
You must be signed in to change notification settings - Fork 523
Add Sonoff SNZB-01M Smart Scene Button into zigbee-button. #2510
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
base: main
Are you sure you want to change the base?
Conversation
| @@ -0,0 +1,87 @@ | |||
| -- Copyright 2024 SmartThings | |||
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.
Update date
| @@ -0,0 +1,26 @@ | |||
| -- Test file for SONOFF SNZB-01M integration | |||
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.
Please add copyright info.
| end | ||
| end | ||
|
|
||
| return test No newline at end of file |
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.
Please add some proper unit tests utiliizing expect_send and expect_receive. More details can be found here
|
Duplicate profile check: Passed - no duplicate profiles detected. |
|
Invitation URL: |
Test Results 71 files 478 suites 0s ⏱️ Results for commit e9d7cbf. |
|
Minimum allowed coverage is Generated by 🐒 cobertura-action against e9d7cbf |
Check all that apply
Type of Change
Checklist
Description of Change
This PR adds support for the Sonoff SNZB-01M Smart Scene Button to the existing zigbee-button driver.
Changes made:
fingerprints.ymlto recognize the SONOFF SNZB-01M devicesonoff-buttons-battery.ymlwith 4 button components and battery capabilitysrc/zigbee-multi-button/sonoff/init.luato handle SONOFF-specific Zigbee communicationtest_sonoff_button.luafor verification purposesSummary of Completed Tests
Device Testing:
Code Testing:
Compatibility: