Skip to content

Add fingerprint for Tuya Water Leak Sensor#3090

Open
r-slezak wants to merge 6 commits into
SmartThingsCommunity:mainfrom
r-slezak:tuya-flood-sensor
Open

Add fingerprint for Tuya Water Leak Sensor#3090
r-slezak wants to merge 6 commits into
SmartThingsCommunity:mainfrom
r-slezak:tuya-flood-sensor

Conversation

@r-slezak

@r-slezak r-slezak commented Jul 3, 2026

Copy link
Copy Markdown
Contributor

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
  • Bug fix
  • 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

Adds fingerprint for Tuya Water Leak Sensor.

Summary of Completed Tests

Tested adding device and if it functions correctly.

@github-actions

github-actions Bot commented Jul 3, 2026

Copy link
Copy Markdown

Duplicate profile check: Passed - no duplicate profiles detected.

@github-actions

github-actions Bot commented Jul 3, 2026

Copy link
Copy Markdown

Test Results

   73 files  ±  0    537 suites  +16   0s ⏱️ ±0s
3 167 tests +158  3 167 ✅ +158  0 💤 ±0  0 ❌ ±0 
5 168 runs  +241  5 168 ✅ +241  0 💤 ±0  0 ❌ ±0 

Results for commit 1a29a44. ± Comparison against base commit f8e07b8.

This pull request removes 7 and adds 165 tests. Note that renamed tests count towards both.
Device added data lock codes population
Device added data lock codes population, device response produces no events
Device added data lock codes population, should not reload all codes
Device added without data should function
Device init after added shouldn't change the datastores
Device init after added with no data should update the datastores
Device init with new data should populate fields
Add Year Day Schedule command received from SmartThings and send busy state
Clear Year Day Schedule command received from SmartThings and send busy state
Device called 'migrate' command
Device init function handler
Handle Add Year Day Schedule command received from SmartThings.
Handle Clear Year Day Schedule command received from SmartThings.
Handle Set Endpoint Key command received from SmartThings and busy status
Handle Set Endpoint Key command received from SmartThings and user_index is failure
Handle Set Endpoint Key command received from SmartThings and user_index is occupied
Handle Set Endpoint Key command received from SmartThings and user_index is occupied and next_credential_index is nil
…

♻️ This comment has been updated with latest results.

@github-actions

github-actions Bot commented Jul 3, 2026

Copy link
Copy Markdown

File Coverage
All files 98%
/home/runner/work/SmartThingsEdgeDrivers/SmartThingsEdgeDrivers/drivers/SmartThings/zigbee-water-leak-sensor/src/lazy_load_subdriver.lua 57%
/home/runner/work/SmartThingsEdgeDrivers/SmartThingsEdgeDrivers/drivers/SmartThings/zigbee-water-leak-sensor/src/init.lua 96%
/home/runner/work/SmartThingsEdgeDrivers/SmartThingsEdgeDrivers/drivers/SmartThings/zigbee-water-leak-sensor/src/frient/init.lua 90%

Minimum allowed coverage is 90%

Generated by 🐒 cobertura-action against 1a29a44

@r-slezak r-slezak force-pushed the tuya-flood-sensor branch from 14c018e to ad1dc95 Compare July 6, 2026 07:31
@r-slezak r-slezak marked this pull request as draft July 6, 2026 07:31
@github-actions

github-actions Bot commented Jul 6, 2026

Copy link
Copy Markdown

@r-slezak r-slezak changed the title Add support for Tuya water leak sensors Add fingerprint for Tuya Flood Sensor Jul 6, 2026
@r-slezak r-slezak marked this pull request as ready for review July 6, 2026 10:45
@KKlimczukS KKlimczukS requested a review from cbaumler July 9, 2026 11:16
Updated device information for Tuya Water Leak Sensor.
@KKlimczukS KKlimczukS changed the title Add fingerprint for Tuya Flood Sensor Add fingerprint for Tuya Water Leak Sensor Jul 10, 2026
@KKlimczukS KKlimczukS requested a review from hcarter-775 July 10, 2026 07:55
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.

3 participants