Add Tuya MoesBHT6 thermostat _TZE204_u9bfwha0 #4461
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Adds support for _TZE204_u9bfwha0 Moes BHT-006GBZB electric floor heating thermostat. This variant uses a single mode attribute
instead of separate manual/schedule attributes and includes endpoint 242 with GreenPowerProxy support.
It builds on contribution created in #2627 and follows the successful support
of the same device in z2m with Koenkk/zigbee-herdsman-converters#6369.
Proposed change
This PR adds support for the Tuya electric floor heating thermostat
_TZE204_u9bfwha0(Moes BHT-006GBZB model TS0601) tozhaquirks/tuya/ts0601_electric_heating.py.Implementation details:
The quirk includes four new classes:
MoesBHT6ManufCluster- Manufacturer-specific cluster with custom command handling for on/off operations via command_busMoesBHT6Thermostat- Thermostat cluster that maps ZCL attributes to Tuya-specific valuesMoesBHT6UserInterface- User interface cluster for child lock functionalityMoesBHT6- Main device quirk with signature matching for_TZE204_u9bfwha0Key differences from existing MoesBHT quirk:
Supported features:
Additional information
Fixes #2627
This implementation is based on the successful integration in zigbee2mqtt:
Koenkk/zigbee-herdsman-converters#6369
The device signature shows it presents as a Smart Plug (device_type=81) but is replaced with a Thermostat device type in the quirk
replacement configuration.
Device diagnostics are attached from the original issue report for the _TZE200_u9bfwha0 variant (TZE200 vs TZE204 are typically
firmware variations of the same hardware).
Device diagnostics
zha-01JWS5EQDD5DRF54AD0BCKK3M1-_TZE200_u9bfwha0 TS0601-98e0276de7d342b7d929f0ada449640c.json
Checklist
pre-commitchecks pass / the code has been formatted using Black