Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Tuya 12 channel switch _TZE204_dqolcpcp #3008

Merged
merged 2 commits into from
Mar 26, 2024
Merged

Conversation

hyosang82
Copy link
Contributor

@hyosang82 hyosang82 commented Feb 27, 2024

Proposed change

Add device model _TZE204_dqolcpcp (x12 switches)

Additional information

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

Copy link

codecov bot commented Feb 27, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 87.86%. Comparing base (e4d0663) to head (fa6beb1).
Report is 6 commits behind head on dev.

Additional details and impacted files
@@            Coverage Diff             @@
##              dev    #3008      +/-   ##
==========================================
+ Coverage   87.85%   87.86%   +0.01%     
==========================================
  Files         301      301              
  Lines        9217     9225       +8     
==========================================
+ Hits         8098     8106       +8     
  Misses       1119     1119              

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

@javicalle
Copy link
Collaborator

Not sure if that device implements it or if it make sense at all, but setting the quirk_id would enable a couple of configuration entities in HA (power on and backlight mode) :

quirk_id = TUYA_PLUG_MANUFACTURER

Have you checked it?

zhaquirks/tuya/ts0601_switch.py Outdated Show resolved Hide resolved
@TheJulianJES TheJulianJES added the Tuya Request/PR regarding a Tuya device label Mar 8, 2024
@TheJulianJES TheJulianJES changed the title Add model: _TZE204_dqolcpcp (x12 switch) Add Tuya 12 channel switch _TZE204_dqolcpcp Mar 18, 2024
@TheJulianJES TheJulianJES merged commit c8276b7 into zigpy:dev Mar 26, 2024
6 checks passed
lgraf pushed a commit to lgraf/zha-device-handlers that referenced this pull request May 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Tuya Request/PR regarding a Tuya device
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants