zha-device-handlers
zha-device-handlers copied to clipboard
Add Tuya 12 channel switch `_TZE204_dqolcpcp`
Proposed change
Add device model _TZE204_dqolcpcp (x12 switches)
Additional information
Checklist
- [x] The changes are tested and work correctly
- [x]
pre-commitchecks pass / the code has been formatted using Black - [x] Tests have been added to verify that the new code works
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.
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?