Skip to content

Conversation

fdaneluzzi
Copy link
Contributor

This PR adds support for the Tuya TS0601 dual valve, sold in Brazil under the "NovaDigital ZVL-DUAL" brand.

The device is a whitelabeled version of the standard Tuya TS0601 dual valve already supported by this quirk.
It uses the same datapoints and behavior, only the manufacturer string differs:

  • Manufacturer: _TZE284_iilebqoo
    WhatsApp Image 2025-08-22 at 14 31 48

  • Model: TS0601

Adding .applies_to("_TZE284_iilebqoo", "TS0601") makes ZHA correctly apply the dual-valve quirk and exposes two switch entities (Valve 1, Valve 2) plus error reporting.

This will help users in Brazil, where the device is distributed under the NovaDigital brand, but is otherwise identical to other Tuya-branded versions.

…0601)

The NovaDigital ZVL-DUAL is a whitelabeled version of the Tuya TS0601 dual valve.
It uses the same datapoints and behavior as other supported TS0601 dual valves,
but reports a different manufacturer string:

- Manufacturer: _TZE284_iilebqoo
- Model: TS0601

This change adds `.applies_to("_TZE284_iilebqoo", "TS0601")` to the dual-valve quirk,
allowing ZHA to correctly apply the quirk and expose:

- Two switch entities (Valve 1, Valve 2)
- Error reporting via DP 11

Tested with Home Assistant 2025.8 and Sonoff Zigbee 3.0 USB Dongle Plus.
Copy link

codecov bot commented Aug 22, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 92.05%. Comparing base (6213bef) to head (e2110da).
⚠️ Report is 5 commits behind head on dev.

Additional details and impacted files
@@           Coverage Diff           @@
##              dev    #4281   +/-   ##
=======================================
  Coverage   92.05%   92.05%           
=======================================
  Files         350      350           
  Lines       11601    11601           
=======================================
  Hits        10679    10679           
  Misses        922      922           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@puddly puddly added the smash This PR is close to be merged soon label Aug 22, 2025
@TheJulianJES TheJulianJES added the Tuya Request/PR regarding a Tuya device label Aug 23, 2025
Copy link
Collaborator

@TheJulianJES TheJulianJES left a comment

Choose a reason for hiding this comment

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

Thanks! Looks good

Note for myself/this quirk:
_TZE284_8zizsafo and _TZE284_iilebqoo use the same converter in Z2M, though _TZE284_eaet5qt5 seems to be a different one.
Also see/related: #4256

@TheJulianJES TheJulianJES changed the title feat(tuya): add support for NovaDigital ZVL-DUAL (_TZE284_iilebqoo TS0601) Add Tuya NovaDigital ZVL-DUAL valve _TZE284_iilebqoo Aug 23, 2025
@TheJulianJES TheJulianJES merged commit d5fc1c8 into zigpy:dev Aug 23, 2025
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
smash This PR is close to be merged soon Tuya Request/PR regarding a Tuya device
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants