zha-device-handlers icon indicating copy to clipboard operation
zha-device-handlers copied to clipboard

Add Tuya 12 channel switch `_TZE204_dqolcpcp`

Open hyosang82 opened this issue 1 year ago • 2 comments

Proposed change

Add device model _TZE204_dqolcpcp (x12 switches)

Additional information

Checklist

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

hyosang82 avatar Feb 27 '24 09:02 hyosang82

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

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              

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

codecov[bot] avatar Feb 27 '24 09:02 codecov[bot]

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?

javicalle avatar Feb 28 '24 00:02 javicalle