Skip to content

Added support for _TZ3000_402vrq2i variant#4632

Open
jrfigura wants to merge 7 commits intozigpy:devfrom
jrfigura:dev
Open

Added support for _TZ3000_402vrq2i variant#4632
jrfigura wants to merge 7 commits intozigpy:devfrom
jrfigura:dev

Conversation

@jrfigura
Copy link

@jrfigura jrfigura commented Jan 8, 2026

Added _TZ3000_402vrq2i suport to TuyaSmartRemote004FRotary as suggested in #3738

closes #3738

Proposed change

Added support for _TZ3000_402vrq2i variant
What works: "Single press, double press, long press, rotation events confirmed working"

Additional information

Tested on Home Assistant with ZHA integration. All button functions work: single press, double press, long press, and rotation in both directions.

Device diagnostics

zha-cd7c1fa6596ea299d3f70e212321a83d-_TZ3000_402vrq2i TS004F-dfd5a4b5bee3a42176ef5aa8b2787779.json

Checklist

  • The changes are tested and work correctly
  • pre-commit checks pass / the code has been formatted using Black
  • Tests have been added to verify that the new code works
  • Device diagnostics data has been attached

jrfiguraOMD and others added 2 commits January 8, 2026 13:56
Added _TZ3000_402vrq2i suport to TuyaSmartRemote004FRotary as suggested in zigpy#3738

closes zigpy#3738
@codecov
Copy link

codecov bot commented Jan 8, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 92.32%. Comparing base (40b41de) to head (6e52852).

Additional details and impacted files
@@           Coverage Diff           @@
##              dev    #4632   +/-   ##
=======================================
  Coverage   92.32%   92.32%           
=======================================
  Files         371      371           
  Lines       12190    12194    +4     
=======================================
+ Hits        11254    11258    +4     
  Misses        936      936           

☔ 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.

@jrfigura jrfigura changed the title Update ts004f.py Added support for _TZ3000_402vrq2i variant Feb 16, 2026
@jrfigura
Copy link
Author

Updated with missing diagnostics

@jrfigura
Copy link
Author

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.

[Device Support Request] _TZ3000_402vrq2i TS004F Tuya Rotary Button

2 participants

Comments