Skip to content

Add support for TZE204 TS0601 Tuya/MoesBHT electric floor heating thermostats#4867

Open
trougnouf wants to merge 1 commit intozigpy:devfrom
trougnouf:dev
Open

Add support for TZE204 TS0601 Tuya/MoesBHT electric floor heating thermostats#4867
trougnouf wants to merge 1 commit intozigpy:devfrom
trougnouf:dev

Conversation

@trougnouf
Copy link
Copy Markdown

@trougnouf trougnouf commented Mar 25, 2026

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

  • 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
  • Device diagnostics data has been attached

@codecov
Copy link
Copy Markdown

codecov bot commented Mar 25, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 93.05%. Comparing base (380135d) to head (696ac88).

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.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@trougnouf trougnouf changed the title Add support for TZE204 TS0601 Tuya electric floor heating thermostats Add support for TZE204 TS0601 Tuya/MoesBHT electric floor heating thermostats Mar 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant