SmartThingsEdgeDrivers
SmartThingsEdgeDrivers copied to clipboard
Add fingerprint for SONOFF/SNZB-02D
Type of Change
- [ ] WWST Certification Request
- If this is your first time contributing code:
- [ ] I have reviewed the README.md file
- [ ] I have reviewed the CODE_OF_CONDUCT.md file
- [ ] I have signed the CLA
- [ ] I plan on entering a WWST Certification Request or have entered a request through the WWST Certification console at developer.smartthings.com
- If this is your first time contributing code:
- [x] Bug fix
- [x] New feature
- [ ] Refactor
Checklist
- [x] I have performed a self-review of my code
- [x] I have commented my code in hard-to-understand areas
- [x] I have verified my changes by testing with a device or have communicated a plan for testing
- [ ] I am adding new behavior, such as adding a sub-driver, and have added and run new unit tests to cover the new behavior
Description of Change
This adds the fingerprint for the Sonoff Zigbee multipurpose sensor with LED display (SONOFF/SNZB-02D) so that it uses the humidity-temp-battery profile instead of just the humidity-temperature profile.
Summary of Completed Tests
I used the Edge Device Builder to switch all my sensors to the humidity-temp-battery profile. After a manual power reset on the sensors (or possibly it would just happen if I waited longer), they report their battery level in the SmartThings mobile app and advanced web app.
I have verified that the battery level shows in the SmartThings mobile app and advanced web app after using the Edge Device Builder to switch my sensors to the humidity-temp-battery profile instead of the humidity-temperature profile (which this commit enables by default).
I have closed this PR, all new fingerprint and device additions are submitted as part of our WWST process. Thank you.