# Supported devices & compatibility

> Which Home Assistant integrations and TRV models work with Better Thermostat, Zigbee2MQTT vs. ZHA differences, Shelly BLU TRV setup, built-in model quirks, and known limitations.

Source: https://better-thermostat.org/working-devices/compatibility/

## Supported devices

**Any radiator thermostat or wall thermostat exposed as a `climate` entity in Home Assistant (with a writable target temperature) works with Better Thermostat.**

Because Better Thermostat talks through Home Assistant entities rather than directly to a radio stick, **your underlying integration determines which [`Calibration type`](https://better-thermostat.org/calibration_algorithms/) options are unlocked:**

| Integration | `Target Temperature Based` | `Offset Based` | `Direct Valve Based` (`0–100 %`) | Notes |
|---|---|---|---|---|
| **Zigbee2MQTT (Z2M)** *(Recommended for Zigbee)* | ✅ All TRVs | ✅ Most TRVs (`number.*_local_temperature_calibration`) | ✅ Supported models (`TRVZB`, `SPZB0001`, Danfoss/Popp/Hive) | Exposes full device clusters (offsets, valve position, child lock, external sensor input). Enable Z2M's **Availability** tracking so unavailable TRVs are reported through Better Thermostat's critical-entity error path ([Missing entity](https://better-thermostat.org/faq/missing-entity/)). |
| **ZHA (Zigbee Home Automation)** | ✅ All TRVs | ⚠️ Device-dependent (many TRVs hide offset in ZHA) | ⚠️ Rarely exposed | Works reliably via `Target Temperature Based` even when ZHA only creates a `climate` entity. |
| **Shelly (Native HA)** | ✅ Shelly TRV Gen1 (`SHTRV-01`) | ✅ Where exposed | ✅ **Shelly BLU TRV** (via BLU Gateway Gen3) | Disable Shelly's internal auto-temp mode on BLU TRVs to unlock writable valve control (see below). |
| **Homematic(IP) Local / OpenCCU** | ✅ All TRVs | ✅ Yes (via `select.*_temperature_offset` once un-ignored) | ❌ Not writable | Un-ignore `TEMPERATURE_OFFSET` in OpenCCU ([instructions](https://better-thermostat.org/configuration/#homematicip--openccu-enabling-offset-based-calibration)) and keep the **HomematicIP** 10-minute duty-cycle option enabled. |
| **Z-Wave JS** | ✅ All TRVs | ✅ When exposed as a `number` entity (including `0.1 °C` / `0.01 °C` config parameters once enabled) | ✅ **Eurotronic Spirit Z / Aeotec `ZWA021`** | On `ZWA021`, Better Thermostat supports parameter 8 local offsets and engages *Manufacturer Specific* mode when `Direct Valve Based` is chosen. |
| **tado° / deCONZ / Matter / Generic `climate`** | ✅ All TRVs | ✅ tado°, deCONZ, and any device exposing an offset entity | ❌ Usually not exposed | Works out of the box (Matter remote-sensing bindings automatically select `No Calibration`). |

---

## Local offset & direct valve requirements

### Local offset calibration (`Offset Based`)

`Offset Based` calibration is offered whenever your integration exposes a writable temperature calibration entity (`number` or `select`) on the TRV device:

- **Zigbee2MQTT**, **tado°**, **deCONZ**, and **Homematic(IP) Local / OpenCCU** (once `TEMPERATURE_OFFSET` is un-ignored)
- **Z-Wave JS**, when the TRV exposes a calibration entity. A configuration parameter is used as one when its unit is degrees Celsius or a tenth or hundredth of one: the temperature offset of the Eurotronic Spirit and the Aeotec ZWA021, parameter 8, counts tenths of a degree and is read and written in that unit, and its reserved value -128 (external sensor) is never written. Home Assistant creates configuration parameters disabled, so enable that entity and reload Better Thermostat
- Any other integration whose TRV exposes a calibration entity (a `number` or `select`) that Better Thermostat can find

### Direct valve control (recommended for MPC/PID)

Direct valve control requires one of:

1. Adapter support in Better Thermostat together with a controllable valve position entity exposed by your TRV/integration
2. A valve control built into Better Thermostat for your model, as for the Sonoff TRVZB and TRV-ZBT and the Eurotronic Spirit Z / Aeotec ZWA021 (see [Direct valve control](https://better-thermostat.org/calibration_algorithms/#devices-that-support-it))

Devices that expose a controllable valve position work best with the advanced control modes (`(AI) MPC v2`, `TPI Controller`, `PID Controller`, and `(AI) Time Based`), because Better Thermostat can set the valve opening directly. Select the **`Direct Valve Based`** calibration type to use it.

---

## Built-in device quirks & optimizations

Better Thermostat automatically detects the device model in Home Assistant's Device Registry and loads dedicated quirk fixes where needed—no manual configuration required:

| Model ID / Family | Brand & Device | What Better Thermostat handles automatically |
|---|---|---|
| **`TRVZB`** | **Sonoff Zigbee TRV (Z2M & ZHA)** | Supports **`Direct Valve Based`** (`0–100 %` via opening and closing degree numbers), **`Offset Based`** (note `-12.7 °C` firmware lower bound), and automatically **mirrors your external room sensor reading** into the TRV's external temperature input and selects external sensor mode (unless `Keep the TRV's sensor selection` is enabled). |
| **`TRV-ZBT`** | **Sonoff Zigbee TRV Gen2** | Automatically mirrors your external room sensor reading into the TRV's external sensor input. Supports `Direct Valve Based`: Better Thermostat writes the valve position into both `heating_valve_position` and `idle_valve_position` ([Direct valve control](https://better-thermostat.org/calibration_algorithms/#devices-that-support-it)). |
| **`SRTS-A01`** | **Aqara Smart Radiator Thermostat E1** | Automatically mirrors your external room sensor reading into `external_temperature_input` and switches `sensor` between `external` (during normal `optimal` control) and `internal` (during `sensor_fallback` / `hold`), unless `Keep the TRV's sensor selection` is enabled. |
| **`014G2461`** | **Danfoss Ally (`014G2461` / `014G2463`), Popp `701721`, Hive `UK7004240`** | In **`No Calibration`** mode, automatically writes your room sensor reading (in hundredths of a `°C`, refreshed every 30 min) to `external_measured_room_sensor` so the Danfoss firmware regulates on your room thermometer natively. |
| **`SBTR-001AEU` (`Shelly BLU TRV`)** | **Shelly BLU TRV (via BLU Gateway)** | Dedicated **`Direct Valve Based`** adapter (`0–100 %` valve actuator, `25 %` emergency opening on total sensor loss), or writes your room temperature to `external_temperature` when used in **`No Calibration`** mode with Shelly's own thermostat enabled. See dedicated setup rules below. |
| **`SHTRV-01`** | **Shelly TRV (Gen1 Wi-Fi)** | Prevents `4.0 °C` minimum-setpoint writes from unintentionally reporting back as the user turning the thermostat `off` (floors active closing writes one `0.5 °C` step above `4.0 °C`). |
| **`SPZB0001`** | **Eurotronic Spirit Zigbee** | Supports **`Direct Valve Based`** (`0–100 %`) and safely clamps **`Offset Based`** writes to the hardware's `±5.0 °C` limit. |
| **`ZWA021`** | **Eurotronic Spirit Z / Aeotec Z-Wave** | Automatically switches the TRV into its hidden Z-Wave *Manufacturer Specific* mode (`Multilevel Switch`) when **`Direct Valve Based`** is selected, and supports Z-Wave parameter 8 (`0.1 °C` tenths of a degree, skipping reserved `-128`) for **`Offset Based`** calibration once enabled in Home Assistant. |
| **`COZB0001`** | **Eurotronic Comet Zigbee** | Compensates for firmware that applies `local_temperature_calibration` to the internal setpoint instead of the reported temperature reading. |
| **`SEA801-Zigbee` / `SEA802-Zigbee`** | **Saswell / Tuya OEM Zigbee TRVs** | Normalizes offset rounding quirks. *(Hardware has a small local offset window—switch to **`Target Temperature Based`** if the radiator sits in a hot pocket!)* |
| **`BTH-RM` / `BTH-RM230Z`** | **Bosch Smart Home Thermostats** | Adapts temperature ranges and dual-setpoint climate handling. |
| **`ME167`** | **Avatto Zigbee TRV** | Verified offset passthrough and state synchronization. |
| **`BHT-002-GCLZB`** | **Moes / Beca Wall Thermostat** | Sanitizes erroneous `±1e6` floating-point calibration values sometimes published via Zigbee2MQTT. |
| **`TS0601` / `TS0601_thermostat` / `TV02-Zigbee`** | **Tuya / Moes / TuYa OEM Zigbee TRVs** | Direction-aware offset rounding and mode handling for quirky Tuya cluster implementations. |
| **`Heater` (TermoWeb)** | **TermoWeb Electric Radiators (`ha-termoweb`)** | Automatically inverts the temperature offset sign (`+1 K` offset lowers reported reading by `1 K` on TermoWeb hardware). |

:::caution[Community notes on tricky budget TRV firmware]
- **Moes `BRT-100`:** Known in community reports for aggressive internal eco/step jumps (`1–2 °C` steps) that fight external offset loops; use **`Target Temperature Based`** and disable all internal schedules/eco modes in Zigbee2MQTT.
- **Nedis `ZBHTR10WT`:** Lacks full converter exposure in several Zigbee stacks; verify that `climate` setpoints apply reliably in Home Assistant before wrapping it.
:::

Missing a quirk for your TRV model? [Open a GitHub issue](https://github.com/KartoffelToby/better_thermostat/issues) with a [Diagnostics download](https://better-thermostat.org/faq/debugging/).

### Devices that are known to work

Models with dedicated built-in handling in Better Thermostat:

- `014G2461` (Danfoss Ally, also Danfoss `014G2463`, Popp `701721` and Hive `UK7004240`)
- `BHT-002-GCLZB`
- `BTH-RM`
- `BTH-RM230Z`
- `COZB0001` (Eurotronic Comet Zigbee)
- `Heater` (TermoWeb electric radiator, through the `ha-termoweb` integration)
- `ME167` (Avatto)
- `SEA801-Zigbee` / `SEA802-Zigbee`
- `SBTR-001AEU` (Shelly BLU TRV)
- `SHTRV-01` (Shelly TRV, Gen1)
- `SPZB0001` (Eurotronic Spirit Zigbee)
- `SRTS-A01` (Aqara Smart Radiator Thermostat E1)
- `TRV-ZBT` (Sonoff TRV-ZBT)
- `TRVZB` (Sonoff TRVZB)
- `TS0601`
- `TS0601_thermostat`
- `TV02-Zigbee`
- `ZWA021` (Eurotronic Spirit Z / Aeotec ZWA021, Z-Wave)

---

## Room temperature written to the TRV

Some TRVs can regulate on a room temperature sent to them instead of their own sensor. For these models Better Thermostat writes its room temperature to the device:

- **Sonoff TRVZB and TRV-ZBT** (Zigbee2MQTT): to `external_temperature_input`, and switches the device's temperature sensor selection to it. A TRVZB paired through ZHA gets it in `external_temperature_sensor_value`, and its `external_temperature_sensor` switch is turned on. With the TRV's advanced option **Keep the TRV's sensor selection** on, the value is still written but the selection and the switch stay as you set them, for example on `local_temperature` so that each TRV regulates on its own sensor (see [Configuration](https://better-thermostat.org/configuration/#second-step)).
- **Aqara SRTS-A01 (Smart Radiator Thermostat E1)** (Zigbee2MQTT): writes the room temperature to `external_temperature_input` and switches the device's `sensor` selector to `external` while Better Thermostat is in normal (`optimal`) control. Because the SRTS-A01 does not time out an external reading on its own, Better Thermostat automatically switches `sensor` back to `internal` whenever the room sensor enters `sensor_fallback` or `hold` (unless **Keep the TRV's sensor selection** is turned on).
- **Danfoss Ally, Popp 701721, Hive UK7004240** (Zigbee2MQTT): to `external_measured_room_sensor`, in hundredths of a degree Celsius as Zigbee2MQTT expects, but only with the calibration mode **No Calibration**. The device corrects for its own sensor itself once it has the room temperature, so any other calibration mode would correct the same bias a second time. A change of at least 0.1 °C is written at once. An unchanged value goes out again with Better Thermostat's 30-minute refresh, which stays within the time after which the device drops the value and returns to its own sensor: 3 hours, or 35 minutes with `radiator_covered` on. Better Thermostat does not change `radiator_covered`; set it to match how the radiator is mounted. Open windows are not reported through `window_open_external`, and `heat_available` is not used.
- **Shelly BLU TRV** (SBTR-001AEU, Home Assistant's Shelly integration): to its **External temperature** number (`external_temperature`), but only with the calibration mode **No Calibration** and not under **Direct Valve Based** control, for the same reason as the Danfoss Ally: the TRV corrects for its own sensor once it has the room temperature, and under direct valve control its own thermostat is off. Only readings Better Thermostat accepts are written; its sensor filter can hold a small or flickering change back for a while. An accepted change of at least 0.1 °C is written at once. An unchanged value goes out again with the first accepted reading or 30-minute refresh that comes at least 5 minutes after the last write, so two writes stay less than 35 minutes apart. If the number is missing or disabled, a warning is logged once.

No value is written while the room sensor gives no reading, or when the room sensor belongs to the TRV itself.

---

## TRVs bound to a room sensor over Matter

Some Matter thermostats, such as the Eve Thermo, can be bound to a room temperature sensor (Matter Binding). They then take their measured temperature from that sensor and control the room on it themselves. Home Assistant's Matter integration shows this with the diagnostic binary sensor **Local temperature remote sensing** on the thermostat's device. While it is on, Better Thermostat leaves the control to the thermostat:

- In setup and options, the thermostat accepts only the calibration mode **No Calibration**, and it is preselected. Any other mode would put a second control loop on top of the thermostat's own and is refused. A new thermostat starts on the calibration type **Target Temperature Based**.
- Better Thermostat sends the target temperature unchanged, also for an entry configured before the binding.
- Better Thermostat never writes or resets the thermostat's temperature offset. The offset shifts the bound sensor's reading on the device, so keep it at the value you set.

While that binary sensor is unavailable, Better Thermostat still sends the target unchanged and leaves the offset alone; setup and options only insist on No Calibration while it is on. Window and door detection, grouping, presets and the rest of Better Thermostat keep working.

The room temperature sensor is still required in setup. Select the sensor the thermostat is bound to; Better Thermostat then shows the same room temperature the thermostat regulates on.

These thermostats offer no valve control over Matter, so the **Direct Valve Based** calibration type is not available for them.

---

## Shelly BLU TRV (direct valve control & repair warning)

Use Home Assistant's native **Shelly** integration with a compatible Shelly BLU Gateway (e.g. BLU Gateway Gen3):

1. **Disable Shelly's internal automatic temperature control** in the Shelly device settings first. Home Assistant will then replace the read-only valve sensor with a writable **`Valve position` (`number.*`)** entity on the same TRV device (a gateway can serve several TRVs, and the `number` must belong to the same device as the `climate` entity). Wait until that `number` entity is available before setting up Better Thermostat. *(Note: Shelly TRV Gen1 `SHTRV-01` also exposes a valve number, but its internal thermostat stays active, so this direct-control path is specific to the BLU TRV.)*
2. In Better Thermostat (Screen 2), select:
   - **`Calibration type`:** **`Direct Valve Based`**
   - **`Calibration mode`:** One of the **5 valve-computing modes** — **`(AI) Time Based (Default)`**, **`TPI Controller`**, **`(AI) MPC v2 (QP + Kalman, experimental)`**, **`PID Controller`**, or **`MPC Predictive (Beta)`**.
3. **Why you might see the *"Incompatible calibration mode for direct valve control"* repair warning (`invalid_valve_calibration`):**
   - `External Sensor Offset Only`, `Aggressive`, and `No Calibration` do not compute a `0–100 %` valve opening. Setup refuses that combination, and if a stored configuration carries one, Better Thermostat raises a Repair warning, commands **`0 %` (closed)** for safety (blocking `Boost` too), and keeps the entry loaded to retry closing until you open **Configure** and pick one of the 5 valve modes above.
4. **How daily operation differs on an adopted Shelly BLU TRV:**
   - The `0–100 %` valve `number` is the **only** actuator: Better Thermostat sends no setpoints, HVAC modes, or offsets to the BLU TRV, and physical target/mode reports from the BLU TRV do not alter Better Thermostat's room target. Change temperatures and modes on the Better Thermostat entity.
   - Turning Better Thermostat `off` or opening a window/door closes the valve to **`0 %`**.
   - **Total sensor loss (`hold` mode):** Because Shelly's internal thermostat loop is disabled, if *both* your room sensor and the TRV's own temperature reading fail simultaneously, Better Thermostat requests a fixed **`25 %` emergency valve opening** (unless Better Thermostat is `off` or a window/door is open) until a temperature reading returns for 5 minutes ([Degraded mode](https://better-thermostat.org/faq/degraded-mode/)).
   - **Unavailable devices and outages:** An unavailable valve `number` does not cause Better Thermostat to fall back to setpoint or HVAC commands; normal write budgets and retry handling apply. Restore the gateway connection or reload the Shelly integration after a firmware update if its entities do not recover.
5. **Switching back to Shelly's built-in temperature control (own thermostat):**
   - First set Better Thermostat to **`off`**, wait until the valve reports **`0 %`**, and stop any other automation that writes the valve. Re-enable automatic temperature control inside Shelly, wait for Home Assistant to refresh the device's entities, and then set **`Calibration type`** in Better Thermostat to **`Target Temperature Based`** (and **`Calibration mode`** to **`No Calibration`** if you want Better Thermostat to pass its target unchanged and write the room temperature to Shelly's **External temperature** `number`; see [Room temperature written to the TRV](#room-temperature-written-to-the-trv)). Never flip Shelly's internal control mode while Better Thermostat is actively driving the valve.

---

## Known limitations

### 1. Better Thermostat can only use entities your integration exposes

Better Thermostat has no Zigbee, Z-Wave, or Bluetooth radio of its own:
- **`Offset Based`** requires a writable `number` or `select` offset entity on the TRV device (on Z-Wave JS, configuration parameters in `°C`, `0.1 °C`, or `0.01 °C`—such as parameter 8 in tenths of a degree on Eurotronic Spirit Z / Aeotec `ZWA021`—are supported once you enable that disabled-by-default entity in Home Assistant and reload Better Thermostat).
- **`Direct Valve Based`** requires a writable valve-opening entity (or dedicated model quirk).
- **`Target Temperature Based`** works on every `climate` TRV that exposes a target temperature or range.
- Better Thermostat cannot force a sleepy battery TRV to wake up faster, and it spaces routine writes at least **30 seconds** apart (**10 minutes** with the HomematicIP option) to protect batteries and radio airtime.

### 2. Frozen sensors require integration availability tracking

Every algorithm trusts your **`Room temperature sensor`**. When that sensor turns `unavailable`/`unknown` (or leaves `-50..60 °C`), Better Thermostat steps down after 2 minutes to `sensor_fallback` when at least one TRV temperature remains usable, or to `hold` (keeping the last state, or a `25 %` emergency valve opening on valve-only direct-valve devices) when both the room sensor and all TRV readings are unavailable ([Degraded mode](https://better-thermostat.org/faq/degraded-mode/)). However, if a crashed sensor stops transmitting while its integration keeps showing a frozen `20.4 °C` forever, Home Assistant still marks it available!
- **Fix:** Turn on **Availability** in **Zigbee2MQTT** (and `expire_after` on custom MQTT sensors), and in **ZHA** configure the device **unavailable-after timeout** and verify that availability timeout tracking is enabled.

### 3. One physical TRV belongs to at most one Better Thermostat

Setup prevents assigning the same TRV to two Better Thermostat rooms, because two controllers fighting over one valve breaks calibration. Legacy configurations sharing a TRV raise a [Thermostat in multiple rooms](https://better-thermostat.org/faq/shared-trv/) repair warning. Put multiple TRVs of the same room into **one** Better Thermostat entry instead.

### 4. No built-in boiler relay or timetable

Better Thermostat controls room TRVs and an optional AC cooler—not central boiler switches, flow curves, or clock schedules. Pair it with a simple [`hvac_action` boiler automation](https://better-thermostat.org/deep-explanations/central-heating-thermostat/) and the bundled **[Weekly Heating Schedule blueprint](https://better-thermostat.org/setup/automation-blueprints/)**.

### 5. Humidity is for display and automation triggers only

Attaching a humidity sensor exposes live humidity on the `climate` entity and triggers `humidity_high` / `current_humidity_changed` automations, without shifting target temperatures.

### 6. Weather entities must provide a forecast

When using a `weather.*` entity for [Summer mode](https://better-thermostat.org/deep-explanations/summer-mode/), the integration must support Home Assistant weather forecasts. If forecast calls stop answering for more than 3 hours, Better Thermostat fails safe by allowing heating until forecasts return (or use a local **`Outdoor temperature sensor`** instead).

### 7. Fahrenheit systems: rate sensors stay in Kelvin & Celsius TRVs round to whole `°F`

- Diagnostic rate and error sensors (`Temperature Slope`, `Heating Power`, `Heat Loss`, `MPC Gain`, `MPC Loss`, `MPC v2 Disturbance` in `K/min`, and `PID Error` in `K`) always report temperature *differences* in **Kelvin** (`1 K = 1.8 °F`) ([Entities & attributes](https://better-thermostat.org/setup/entities/)).
- Most Zigbee TRVs work natively in `0.5 °C` (`0.9 °F`) steps and round Fahrenheit states in Home Assistant to whole degrees (`70 °F`, `71 °F`). To prevent endless reconciliation retries when `71.5 °F` echoes back as `71 °F` or `72 °F`, Better Thermostat keeps your room target at `71.5 °F` while rounding outbound commands onto the device's whole-degree `°F` grid.

### 8. Learning algorithms improve over days, not minutes

`(AI) Time Based` and `(AI) MPC v2` (`Auto`) learn across complete heating and cooling cycles. `PID Auto Tune` adjusts the gains at most every 5 minutes, and only when one of its tuning conditions holds. `PID Controller` and `MPC Predictive` are in Beta (`MPC Predictive` causes higher valve wear and can over-react in multi-TRV rooms), and `(AI) MPC v2` is experimental for direct-valve TRVs ([Calibration types & algorithms](https://better-thermostat.org/calibration_algorithms/)).
