Add support for TZE204 TS0601 Tuya/MoesBHT electric floor heating thermostats#4867
Open
Add support for TZE204 TS0601 Tuya/MoesBHT electric floor heating thermostats#4867
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## dev #4867 +/- ##
=======================================
Coverage 93.04% 93.05%
=======================================
Files 397 397
Lines 13248 13252 +4
=======================================
+ Hits 12327 12331 +4
Misses 921 921 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Proposed change
Add V2 QuirkBuilder support for Moes BHT-series thermostats, including model IDs _TZE204_aoclfnxz, _TZE204_xalsoe3m, _TZE204_u9bfwha0, and _TZE200_ztvwu4nk.
This implementation includes TuyaThermostatExtendedLimits to correctly handle setpoint limits up to 45 °C, which prevents "out of range" errors in Home Assistant when the device is adjusted manually.
Additional information
Follows logic originally proposed by @prairiesnpr in draft PR #3870 (which I had been using but it hasn't moved in a year)
These newer _TZE204 devices require the V2 architecture to correctly expose all climate entities and attributes.
Tested with _TZE204_aoclfnxz on Home Assistant Container 2026.3.4
Device diagnostics
zha-01K7PPW960F3FNGVX7VKE3XCQ2-_TZE204_aoclfnxz TS0601-2c3f947eec7c2daff8e49ac9cfe65da4.json
Checklist
pre-commitchecks pass / the code has been formatted using Black