github KartoffelToby/better_thermostat 2.0.1

41 minutes ago

🚀 Welcome to Better Thermostat 2.0.1!

Better Thermostat 2.0.1 is a maintenance release for the 2.0 line. It makes a room with two or more radiators act as one thermostat, keeps the calibration controllers from planning against a valve that is off, and fixes device-specific problems reported since 2.0.0.

Special thanks to @cl445, and to @superflyer11, @Stev-G, @acul021, @Petarkir2000 and @maivorbim for their contributions.

Your rooms, settings, presets, and learned heating profiles carry over automatically. There is no migration and nothing to reconfigure.

Note

Requirements: Home Assistant 2026.11.0 or newer is required. On an older core, Better Thermostat now stops setup and shows a repair notice naming the release you need, instead of leaving your thermostats missing.


🔌 More devices, fewer special cases

  • Aqara Radiator Thermostat W600 (Zigbee2MQTT). Reported as WT-A03E, it now receives the room temperature in external_temperature_input and the external sensor selection, exactly like the SRTS-A01. The 30-minute refresh stays inside the 75 minutes after which the W600 returns to its own sensor.
  • Danfoss Ally under ZHA. The room reading now also reaches the Ally's External temperature sensor number through ZHA, not only through Zigbee2MQTT.
  • Eurotronic Spirit Z and Aeotec ZWA021. With No Calibration, the room temperature is sent as a Z-Wave Sensor Multilevel report (Command Class 49), which these heads use natively. A new entry preselects No Calibration when the offset already holds its reserved -128 value.
  • Eurotronic STELLA Z. Direct valve control now works through the ZWA021 quirk.
  • Eurotronic Comet. A Comet that reports the Spirit's model SPZB0001, as it does under ZHA, is now recognised by its IEEE address and gets the Comet's offset handling.
  • Saswell heads only. The TS0601 quirk no longer lifts the setpoint of every Tuya TRV that reports TS0601; the 1.5 °C lift applies to Saswell SEA801/SEA802 heads and every other TS0601 passes through untouched.
  • Kasa KE100 over Matter. Offset calibration is switched off only on the Matter route, where the device ignores the offset. The TP-Link/Tapo route keeps it.
  • White labels and ZHA model names. Zigbee2MQTT names such as Moes BHT-002, the Immax, Emos and THALEOS TS0601 variants, the Moes TV02 aliases and Nous H1Z, and ZHA model strings such as Bosch BTH-RA/BTH-RM and the Aqara SRTS-A01, now load the quirk module of their device.
  • SRTS-A01 as its own room sensor. When the configured room sensor belongs to the SRTS-A01, Better Thermostat no longer writes the reading back into it and keeps its sensor selector on internal.
  • TRVZB valve bump. The anti-sticking bump now runs only on a close to a small opening, so larger closes are written once and the motor moves less.

🎛️ Presets follow the device

  • A knob turn leaves the active preset. Turning the physical TRV, a cooler's remote, or a dual-role device while Eco, Away or Sleep is active now moves the preset to none and keeps your target. The entity no longer shows preset_mode: away with a temperature the away preset never had, and leaving the preset no longer brings back the target from before it.
  • The presence blueprint restores Home only on the first arrival, and only from Away. Someone coming home while another person is already home no longer ends Sleep. Arrivals within five minutes of each other count as one, so the blueprint's own Away does not restart on a flapping presence sensor.
  • The night-mode blueprint returns only Sleep thermostats to none. A thermostat the presence blueprint switched to Away for the night stays Away.
  • Blueprints resolve targets the way Home Assistant does. Entity, device, area, floor and label targets are resolved to climate entities before the preset is set.
  • Re-import the blueprints. Existing automations keep the old behaviour until you re-import presence_away_preset.yaml and night_mode.yaml.

🪟 A TRV's own window detection stays as you set it

Better Thermostat turns off the window detection built into a TRV only when a window or door sensor is configured for the room. Without either sensor, the TRV's own detection is the only one there is, and Better Thermostat leaves it alone.

A TRV whose window detection an older version already turned off stays off after the upgrade. Switch it back on once on the TRV if you want it.

🏠 A room with two radiators or more

A head in a multi-TRV room reports its own setpoint back to Better Thermostat. Between those reports, a copy of another head's setpoint, an echo of Better Thermostat's own write, or a setpoint left behind by valve maintenance could look like a knob turn and move the room target on its own.

  • A target that changed by itself now stays put. Wake-up setpoints sent when a head switches from off to heat, echoes of Better Thermostat's writes, reports held during a control cycle, and maintenance setpoints no longer count as a turn at the knob.
  • A copy of a neighbour's setpoint is not your turn. Some ecosystems, such as Tado, keep every TRV of a room on one setpoint and write the value onto the other heads. A head that reports the setpoint Better Thermostat wrote to another head is now recognised as a copy, and Better Thermostat writes the head's own setpoint back.
  • A turn back to the previous target is a turn. When the other head has not confirmed the room's new setpoint yet, the value you turn back to is the one it still reports. Better Thermostat now compares against the command the head is meant to hold, not against a confirmation of a command that has already been replaced.
  • A released head stays yours. Reports a TRV sent while it was released, or while you were taking it back, are no longer read as reports of the controlled TRV.

🧮 Calibration stops planning for a valve that is off

  • Every controller holds while no heat is called for. When the outdoor or weather check turns the room off for the summer, or the room sits above target, MPC Predictive, MPC v2, TPI and PID no longer keep computing a valve opening. Previously they wound up the error integral and the disturbance estimate against a closed valve; when heating resumed, the room started with a phantom load and overshot.
  • PID auto-tuning starts over after a standby. A tuning step no longer compares a reading from before an open window or an off period with one from after it.
  • A repeated room sensor reading counts once. Sensors that send the same value again (force_update, or an attribute change on the same state) no longer add the reading to the drift on every report and skip the 120-second plateau.
  • A TRV that cannot reach its published maximum is learned. Some heads publish 30.5 °C but only hold 30.0 °C. Better Thermostat now learns the setpoint the device holds one step below its maximum, writes that value, and stops adopting the difference as a knob turn. This also stops the repeated full-power writes that cost Homematic duty cycle.
  • An offset at the limit keeps its repair. A TRV that ignores its calibration offset now keeps the "offset at limit" repair when a cycle asks for the limit itself, instead of dropping it and starting the one-hour run again.

🛡️ Refused writes back off instead of hammering the mesh

  • A valve write the device refuses backs off. It is retried with an expanding pause, like other failed writes, instead of every 30 seconds.
  • A mode the TRV does not take is paced on the mode channel. A head that ignores heat no longer consumes the setpoint channel's budget and delays the next temperature write.
  • Every TRV mode write goes through the model quirk first. The mode sent after a calibration offset and the mode valve maintenance writes now use the same model mapping as the control cycle. A TRV602Z that needs its regulating preset no longer lands on the valve-open preset after an offset write or maintenance.
  • An offset write is no longer undone by the mode sent after it. When that mode write times out or the quirk refuses it, the offset stays written and the mode is re-asserted on its own deadline.

🔧 Compatibility and housekeeping

  • An unsupported Home Assistant is named, not silent. Below 2026.11.0, Better Thermostat no longer half-loads and leaves your thermostats missing. Setup stops, an error is logged, and a repair issue names the required and the running version.
  • No deprecation warning on Home Assistant 2026.12. The "via device" link of the Better Thermostat device is set as a DeviceInfo attribute, so the device page keeps showing which TRV it belongs to without the log warning.
  • Bulgarian translation. The integration, its config flow and its repair texts now ship in Bulgarian.
  • Documentation. The device matrix gained the W600, the Ally under ZHA, Spirit/ZWA021 room temperature handling, the Comet's IEEE recognition and the STELLA Z. The upgrade page says what an upgrade does to a TRV's window detection, the data-updates page explains the learned ceiling and the bound-sensor offset, and the calibration pages state what a fixed MPC v2 room size does to re-identification and where DAQP has no wheel.

🔙 Rolling back

The 1.9 line is closed and takes no further fixes. If you need to go back, 1.9.4 is the last release on it and reads the 2.0 settings format, so your rooms and settings stay intact.


Full commit-level changelog

What's Changed

  • fix(docs): hold every Home Assistant requirement in the docs to the declared floor by @cl445 in #2954
  • fix: refuse to set up below the supported Home Assistant release by @cl445 in #2955
  • fix: write the room temperature to the Danfoss Ally under ZHA too by @cl445 in #2957
  • fix: don't adopt a setpoint written to another TRV of the room as a turn by @cl445 in #2956
  • chore: bump numpy from 2.3.2 to 2.5.4 in the dev-dependencies group by @dependabot in #2950
  • feat: forward room temperature to Spirit and ZWA021 by @Stev-G in #2953
  • fix: keep the offset-at-limit run through a cycle that asks for the limit itself by @cl445 in #2967
  • fix: resolve Zigbee2MQTT white labels and ZHA model names onto their quirk modules by @cl445 in #2964
  • fix: recognise the Eurotronic Comet by its IEEE address when it reports SPZB0001 by @cl445 in #2965
  • fix: lift only Saswell heads in the TS0601 quirk and pass every other TS0601 through by @cl445 in #2966
  • fix: back off a valve write the device refuses instead of retrying every 30 s by @cl445 in #2974
  • fix: pace a mode the TRV did not take on the mode channel's write budget by @cl445 in #2975
  • fix: resolve the CodeRabbit findings on the release pull request #2972 by @cl445 in #2976
  • fix: resolve the remaining CodeRabbit findings on the release pull request #2972 by @cl445 in #2984
  • docs: describe the target temperature sent with the valve command by @cl445 in #2980
  • fix: keep an SRTS-A01 on its own sensor when it is the room sensor by @cl445 in #2985
  • [fix] random changeing target temperature by @KartoffelToby in #3008
  • chore: bump the home-assistant group with 2 updates by @dependabot in #3020
  • chore: bump the dev-dependencies group with 7 updates by @dependabot in #3022
  • chore: bump astral-sh/setup-uv from 10.3.3 to 10.4.0 in the github-actions group by @dependabot in #3021
  • Add Bulgarian (bg) translation by @Petarkir2000 in #2996
  • feat: mirror the room temperature into the Aqara W600 under Zigbee2MQTT by @acul021 in #2994
  • fix: stop offset calibration on the Kasa KE100 over Matter only by @superflyer11 in #2971
  • test: narrow the config flow markers that pyrefly 1.5 reads as untyped by @cl445 in #3025
  • chore: bump all dependencies to their latest releases by @cl445 in #3026
  • fix: leave a TRV's window detection on without a window or door sensor by @cl445 in #2986
  • fix: read no report that crossed a release or a take-back as the TRV's by @cl445 in #2990
  • test: benchmark the valve split over rooms with separate air zones by @cl445 in #2987
  • test: wait for the reload an options flow starts before the test ends by @cl445 in #3027
  • fix: set the via device link as a DeviceInfo attribute by @cl445 in #3028
  • fix: bump the TRVZB valve only on closes to a small opening by @cl445 in #3029
  • fix: leave the preset when a target is turned at the device by @cl445 in #3030
  • test: load the Home Assistant pytest plugin before the others by @cl445 in #3034
  • chore: record the via-link child-device fix as carried forward in another shape by @cl445 in #3036
  • fix: restore the home preset only on the first arrival and only from away by @cl445 in #3032
  • fix: send every TRV mode write through the model quirk first by @cl445 in #3031
  • chore: remove the forward-port gate now that 1.9 is unsupported by @cl445 in #3037
  • docs: say that a thermostat on a bound sensor does not apply its offset to it by @cl445 in #3038
  • chore: bump the version to 2.0.1 by @cl445 in #3040
  • docs: name musl x86_64 as the platform DAQP has no wheel for by @cl445 in #3041
  • fix: learn the setpoint a TRV holds one step below its published maximum by @cl445 in #3035
  • fix: count a repeated room sensor reading once towards the drift by @cl445 in #3042
  • fix: hold every calibration controller while no heat is called for by @cl445 in #3044
  • docs: say that the fixed MPC v2 room sizes switch re-identification off by @cl445 in #3043
  • fix: adopt a turn back to the setpoint a neighbour has not taken yet by @cl445 in #3045
  • Add STELLA Z alias to _QUIRK_MODULE_ALIASES by @maivorbim in #3049
  • [TASK] fix coderabbit founds by @KartoffelToby in 21d63549

New Contributors

Full Changelog: 2.0.0...2.0.1

Don't miss a new better_thermostat release

NewReleases is sending notifications on new releases.