Tuya gas sensor support
Check all that apply
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:
- [ ] Bug fix
- [x] New feature
- [ ] Refactor
Checklist
- [ ] I have performed a self-review of my code
- [ ] I have commented my code in hard-to-understand areas
- [ ] 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
Add tuya Gas sensor support. Tuya Gas alarm using smokeCO cluster exposed as matter bridged devices, they want to WWST and make this device as Gas sensor work with smartthing. This PR subscribe smokeCO COstate as Gas decetor state, try to support Tuya Gas alarm on Smartthings.
Summary of Completed Tests
Duplicate profile check: Passed - no duplicate profiles detected.
Invitation URL: https://bestow-regional.api.smartthings.com/invite/gpjGkqgKoYj4
Test Results
64 files 401 suites 0s ⏱️ 1 989 tests 1 989 ✅ 0 💤 0 ❌ 3 430 runs 3 430 ✅ 0 💤 0 ❌
Results for commit b2e73618.
:recycle: This comment has been updated with latest results.
| File | Coverage | |
|---|---|---|
| All files | 88% |
:x: |
| /home/runner/work/SmartThingsEdgeDrivers/SmartThingsEdgeDrivers/drivers/SmartThings/matter-sensor/src/tuya-smoke-co-alarm/init.lua | 91% |
:white_check_mark: |
| /home/runner/work/SmartThingsEdgeDrivers/SmartThingsEdgeDrivers/drivers/SmartThings/matter-sensor/src/smoke-co-alarm/init.lua | 83% |
:x: |
| /home/runner/work/SmartThingsEdgeDrivers/SmartThingsEdgeDrivers/drivers/SmartThings/matter-sensor/src/init.lua | 92% |
:white_check_mark: |
| /home/runner/work/SmartThingsEdgeDrivers/SmartThingsEdgeDrivers/drivers/SmartThings/matter-sensor/src/embedded-cluster-utils.lua | 45% |
:x: |
| /home/runner/work/SmartThingsEdgeDrivers/SmartThingsEdgeDrivers/drivers/SmartThings/matter-sensor/src/air-quality-sensor/init.lua | 92% |
:white_check_mark: |
Minimum allowed coverage is 90%
Generated by :monkey: cobertura-action against b2e7361817ebc788aea8ff429971cf41ccf60dcf