All settings reference
To add a new room, go to Settings → Devices & Services → Integrations → + Add Integration → Better Thermostat, or click:
To change settings on an existing room later, go to Settings → Devices & Services → Better Thermostat and click the gear icon (Configure) next to that room.
First step
Section titled “First step”Screen 1 configures the room, its sensors, its comfort deadband (Tolerance), and its presets.
Core room & climate entities
Section titled “Core room & climate entities”Name (Required)
Section titled “Name (Required)”- What it does: Sets the display name and initial entity ID of your virtual thermostat (e.g.
Living Room→climate.living_room).
The real thermostat (Required)
Section titled “The real thermostat (Required)”- What it does: One or more physical radiator thermostats (
climate.*) in this room. - Multi-TRV rooms: Select all TRVs of the room together here so Better Thermostat coordinates them as one group. Another Better Thermostat entity cannot be selected here, and
climateentities without a writable target temperature are rejected.
Room temperature sensor (Required)
Section titled “Room temperature sensor (Required)”- What it does: The standalone thermometer (
sensor.*) placed in the living area of the room (1.2–1.5 mhigh, away from radiators, sun, and drafts). - If it goes offline or reports invalid values: After 2 minutes without a valid reading between
-50 °Cand60 °C(up to 3 minutes when nothing else triggers an update, since the check runs once a minute), Better Thermostat steps down gracefully to the average of your TRVs’ built-in thermometers (sensor_fallback), as long as at least one TRV reports a usable temperature; if none does when the delay expires, control steps down toholdinstead. A self-clearing Degraded mode repair notice is raised only when the room sensor state isunavailableorunknown(out-of-range numeric readings triggersensor_fallbackwithout creating that repair notice).
The cooling device (optional)
Section titled “The cooling device (optional)”- What it does: Adds an air conditioner or cooling
climateentity alongside your radiators. - What changes when enabled:
- Better Thermostat coordinates heating and cooling from one card so the radiator and AC never run against each other.
- Enabled presets switch from a single temperature slider to a
Min(heating) andMax(cooling) pair (Presets). - Includes a built-in 4-minute (240 s) compressor anti-short-cycling guard between cooling runs.
Humidity sensor (Optional)
Section titled “Humidity sensor (Optional)”- What it does: Shows current ambient humidity on the Better Thermostat entity and powers the
humidity_highandcurrent_humidity_changeddevice triggers (used by the High Humidity Alert blueprint). It does not alter target temperatures.
Window & door pause settings
Section titled “Window & door pause settings”Window sensor (Optional)
Section titled “Window sensor (Optional)”- What it does: A
binary_sensor(or Binary Sensor Group Helper combining all windows in the room) that turns every TRV in the room off while airing, without altering your saved HVAC mode or target temperature. - Offline safety: If a contact sensor battery dies (
unavailableorunknown), Better Thermostat 2.0 treats it as closed so the room never freezes (Window sensor).
Delay before the thermostat should turn off when the window is opened (Default: 0 s — Recommended: 120–180 s)
Section titled “Delay before the thermostat should turn off when the window is opened (Default: 0 s — Recommended: 120–180 s)”- What happens when you change it: At
0 s, opening a patio window for 10 seconds immediately drives your valve motors closed. Setting120 signores brief openings and saves TRV battery life.
Delay before the thermostat should turn on when the window is closed (Default: 0 s — Recommended: 120–300 s)
Section titled “Delay before the thermostat should turn on when the window is closed (Default: 0 s — Recommended: 120–300 s)”- What happens when you change it: Right after closing a winter window, a pocket of cold air lingers around your room sensor. Waiting 2–5 minutes lets room air mix back toward its true temperature so Better Thermostat doesn’t blast an unnecessary overshoot spike.
Door sensor (Optional)
Section titled “Door sensor (Optional)”- What it does: Works just like
Window sensor, with its own independent timers so interior hallway doors can tolerate normal foot traffic while still pausing heating if a door is propped open (Door sensor). Heating resumes once every configured window and door reports closed.
Delay before the thermostat should turn off when the door is opened (Default: 0 s — Recommended: 240–300 s)
Section titled “Delay before the thermostat should turn off when the door is opened (Default: 0 s — Recommended: 240–300 s)”Delay before the thermostat should turn on when the door is closed (Default: 0 s — Recommended: 30–60 s)
Section titled “Delay before the thermostat should turn on when the door is closed (Default: 0 s — Recommended: 30–60 s)”- Tip: Toggling the device’s
Window Detectionswitch Off temporarily bypasses both window and door sensors together (Entities & attributes).
Summer Mode (automatic outdoor shutdown)
Section titled “Summer Mode (automatic outdoor shutdown)”For the full explanation of 24-hour exponential smoothing and hysteresis, read Summer mode explained.
Outdoor temperature sensor (Optional)
Section titled “Outdoor temperature sensor (Optional)”- What it does: Feeds local outdoor temperature into Summer Mode (and into
TPI/MPCheat-loss compensation). - Important: Better Thermostat smooths outdoor readings over a 24-hour time constant (seeded from up to 3 days of Home Assistant Recorder history) so brief afternoon sunshine on a sensor wall doesn’t prematurely kill heating. Mount the sensor in permanent north-side shade.
Weather entity to get the outdoor temperature (Optional)
Section titled “Weather entity to get the outdoor temperature (Optional)”- What it does: Alternative outdoor source if you don’t own a physical outdoor sensor (must provide a forecast). If both an outdoor sensor and a weather entity are configured, the
Outdoor temperature sensorautomatically takes priority. - How it decides: Heating stays allowed while either the weather entity’s 24h-damped current temperature or its ~2-day forecast mean (averaging daily highs and lows) stays below your threshold.
The outdoor temperature when the thermostat should turn off (Default: 20 °C — Recommended: 15–17 °C)
Section titled “The outdoor temperature when the thermostat should turn off (Default: 20 °C — Recommended: 15–17 °C)”- What happens when you change it:
- Because readings are smoothed across full 24-hour day-and-night cycles, a warm
24 °Cspring afternoon followed by an8 °Cnight averages16 °C. Leaving this at20 °Ckeeps radiators active well into late spring;15–16 °C(well-insulated homes) or17–18 °C(older buildings) matches real heating-season cutoffs. - Built-in
1.0 °C(1.8 °F) hysteresis: Once Summer Mode turns heating off at e.g.16.0 °C(heating_blocked_by: no_call_for_heat), heating stays off until the 24h-smoothed outdoor temperature drops below15.0 °C, preventing oscillation. - You can also adjust this threshold live without reloading via
number.<room>_outdoor_temperature_threshold.
- Because readings are smoothed across full 24-hour day-and-night cycles, a warm
Comfort band (Tolerance), presets & limits
Section titled “Comfort band (Tolerance), presets & limits”Tolerance, to prevent the thermostat from turning on and off too often (Default: 0.0 °C — Recommended: 0.3 °C for radiators, 0.5 °C for underfloor)
Section titled “Tolerance, to prevent the thermostat from turning on and off too often (Default: 0.0 °C — Recommended: 0.3 °C for radiators, 0.5 °C for underfloor)”- What happens when you change it:
- Heating example (
20.0 °Ctarget,0.3 °Ctolerance): Better Thermostat heats up to20.0 °C, switches toidle, and lets the room rest quietly until it cools to19.7 °Cbefore starting the next heating phase. Leaving it at0.0 °Ccauses frequent valve movement on every0.11 °Cdip. - Cooling example (
24.0 °Ccooling target,0.3 °Ctolerance): Better Thermostat waits until the room warms to24.3 °Cbefore starting the AC, then cools back down to24.0 °C(the cooling band is always at least0.2 °Cwide to protect AC compressors). - (Note:
External Sensor Offset Onlymode ignores the tolerance band and passes continuous sensor offset updates directly to the TRV.) - Live-adjustable anytime via
number.<room>_tolerance.
- Heating example (
Enabled Presets (Default: Eco)
Section titled “Enabled Presets (Default: Eco)”- What it does: Chooses which preset modes (
Eco,Away,Boost,Comfort,Home,Sleep,Activity) appear on this thermostat. Every enabled preset creates its own configurable temperature slider (number.<room>_<preset>) under the device’s Configuration section (Presets).
Target minimum temperature, Target maximum temperature & Target temperature step
Section titled “Target minimum temperature, Target maximum temperature & Target temperature step”- What they do: Bound the range and
+/−step size users and voice assistants can set on Better Thermostat.Target temperature stepoffersAuto,Auto (legacy)(which may be the default on new forms),0.1 °C,0.2 °C,0.25 °C,0.5 °C, and1.0 °C(labeled1 °Cin the dropdown). Leave min, max, and step onAutoto inherit the limits and grid your physical TRVs support.
Availability guard & Grace period after the availability guard turns on (Default grace: 10 min)
Section titled “Availability guard & Grace period after the availability guard turns on (Default grace: 10 min)”- What they do: Optional
binary_sensor,switch, orinput_booleanthat isonwhen your thermostats have mains power andoffwhen powered down (for example, wired floor/wall thermostats powered directly by a heat pump or boiler circuit). While the guard isoff—and for10 minutesafter power returns—offline TRVs suppress log warnings and Missing entity repair alerts while booting up.
Split the valve opening by each TRV's own temperature (Default: Off)
Section titled “Split the valve opening by each TRV's own temperature (Default: Off)”- What it does: Only applies in rooms with two or more TRVs running
MPC Predictiveor(AI) MPC v2. Both modes run one room-wide controller on your room temperature sensor and, by default, send the same computed valve opening to every TRV in the room (each capped by its ownValve Max Opening). With this option turned on, any participating TRV whose own radiator thermometer reads colder than the warmest TRV in the room receives an extra+8 %per°C(4.4 %per°F) of valve opening. The warmest TRV receives the room’s base opening unchanged, no TRV receives less than the room opening, each TRV’sValve Max Openingstill caps the result afterwards, and a closed (0 %) command stays closed for every TRV. - When it helps & which TRVs take part:
- The option compares what each TRV measures at its radiator, so it helps when those readings differ for a physical reason (such as a second radiator in a cold corner of a large room). Note that a TRV reading warmer because its valve is already open wider, or colder because it sits below a drafty window, shifts the split as well.
- Sonoff
TRVZB/TRV-ZBT: When regulating on the external room temperature that Better Thermostat writes to them, all TRVs report the same room temperature and therefore receive the same base opening. To compare their own radiator readings instead, select the TRV’s internal sensor on the device and turn onKeep the TRV's sensor selectionin the second step. Offset BasedTRVs: Take no part in the split and receive the room’s base opening, because the calibration offset written by Better Thermostat shifts their reported temperature reading along with the valve command.- Unavailable or released TRVs: Take no part either.
- (In Better Thermostat’s single-temperature room benchmark, the even split scored as well or better; use this option specifically for multi-radiator rooms with a distinct warm and cold side.)
Second step
Section titled “Second step”Screen 2 configures how Better Thermostat drives each individual physical TRV in the room.
Calibration type (Required)
Section titled “Calibration type (Required)”Direct Valve Based: Writes0–100 %directly to the valve motor (offered when your TRV exposes a writable valve opening or built-in model control, e.g. SonoffTRVZB, Shelly BLU TRV, Eurotronic Spirit). The valve opening comes from the calibration mode ((AI) Time Based,MPC Predictive,MPC v2,TPI Controller, andPID Controllercompute one and close the valve to0 %while the TRV is off; the other modes fall back to sending a target temperature on standard TRVs).Offset Based: Adjusts the TRV’s local temperature calibration entity (number.*orselect.*, such as HomematicIP steps). Keeps the TRV’s physical screen showing your true room target, but can hit firmware limits (±2.5–5 °C) behind curtains or covers.Target Temperature Based: Shifts the setpoint sent to the TRV. Works universally on every Home AssistantclimateTRV that exposes a target temperature or range, and never hits narrow offset caps.
Calibration mode (Required)
Section titled “Calibration mode (Required)”Chooses one of the 8 control algorithms—see Calibration types & algorithms for detailed numerical examples:
(AI) Time Based (Default)— Self-learning room heating-speed controller (recommended default).TPI Controller— Zero-learning proportional controller; very gentle on batteries, minimal overshoot, great for bedrooms & multi-TRV rooms.(AI) MPC v2 (QP + Kalman, experimental)— Predictive physics controller; writes the valve directly withDirect Valve Based, and otherwise steers through the target temperature or the offset depending onCalibration type.PID Controller— Responsive P+I+D loop with Auto-Tune; great for sunny rooms/kitchens withDirect Valve Basedand0.1 °Croom sensors.Aggressive— Adds an immediate+2.5 °Cboost while heating for cold/drafty rooms (non-direct-valve).External Sensor Offset Only— Pure 1:1 sensor correction with no tolerance band or extra controller math.MPC Predictive (Beta)— Earlier 30-min predictive beta (higher valve wear; preferTPIorMPC v2).No Calibration— Sends target temperatures unchanged and writes no offset while keeping window pause, Summer Mode, presets, and grouping.
MPC v2 room size (Default: Auto)
Section titled “MPC v2 room size (Default: Auto)”- What it does: Only used when
Calibration modeis(AI) MPC v2 (QP + Kalman, experimental).Autoadapts from learned thermal behavior, whileSmall,Medium, andLargefix a starting thermal envelope profile with approximate 3-hour, 8-hour, and 12-hour room time constants (tau_room_min = 180,480, and720minutes), respectively.
Overheating protection? (Default: On)
Section titled “Overheating protection? (Default: On)”- What happens when enabled: Only active in
(AI) Time Based (Default)(non-direct-valve) andAggressivemodes. If residual radiator heat pushes the room abovetarget + tolerancewhile Better Thermostat is alreadyidle, it multiplies the excess temperature by8×in the closing direction to help leaky or sluggish TRV pins close. (TPI, PID, and MPC handle overshoot natively and ignore this checkbox.)
Use the minimum temperature instead of 'off' (Default: Off)
Section titled “Use the minimum temperature instead of 'off' (Default: Off)”- What happens when enabled:
- Whenever Better Thermostat wants to turn this TRV off (HVAC mode
off, open window/door, or Summer Mode), it sends the TRV’s own reportedmin_tempinstead ofhvac_mode: off—essential for TRVs whose firmware ignores or misbehaves onoff. (TRVs that don’t advertise anoffmode in Home Assistant already receivemin_tempautomatically, but only count a manual turn tomin_tempas turning Better Thermostat off when this option is enabled.) - Turning the physical radiator knob all the way down to
min_tempby hand tells Better Thermostat you turned the radiator off (once every TRV in the room is turned tomin_temp, Better Thermostat switches tooff; turning a knob back up switches Better Thermostat back toheat—unless Child Lock is active). Turning the knob while a window or door is open is also recorded as the room’s new setting: Better Thermostat returns the TRV to its minimum while the contact stays open and heats to the new target once every window and door is closed.
- Whenever Better Thermostat wants to turn this TRV off (HVAC mode
If 'auto' means 'heat' for your TRV and you want to swap it (Default: Off)
Section titled “If 'auto' means 'heat' for your TRV and you want to swap it (Default: Off)”- What it does: Some TRV integrations map
heatto an uncontrolled full-open “boost” mode whileautorepresents normal temperature control. Enable this checkbox to swap the two so Better Thermostat sendsautoduring normal heating.
If your thermostat has no own maintenance mode, you can use this one (Default: Off)
Section titled “If your thermostat has no own maintenance mode, you can use this one (Default: Off)”- What it does: Periodically exercises the valve pin fully open and closed so mineral scale does not jam the pin during long summer shutdowns. The next scheduled run appears on the
climateentity’snext_valve_maintenanceattribute, and you can also trigger a run manually viabetter_thermostat.run_valve_maintenance.
Ignore all inputs on the TRV like a child lock (Default: Off)
Section titled “Ignore all inputs on the TRV like a child lock (Default: Off)”- What it does: Reverts any manual knob turns (or direct HA service calls) made on the physical TRV so only changes on the Better Thermostat entity take effect. Also exposed live as a per-TRV
Child Lockswitch entity (which toggles the TRV’s native hardware child-lock entity too when available!).
If you use HomematicIP, you should enable this to slow down the requests to prevent the duty cycle (Auto-enabled for Homematic)
Section titled “If you use HomematicIP, you should enable this to slow down the requests to prevent the duty cycle (Auto-enabled for Homematic)”- What happens when enabled: Spaces routine background writes to this TRV to at most once every 10 minutes (instead of the standard 30 seconds) so your HomematicIP Access Point / OpenCCU never hits its strict 868 MHz 1 % radio airtime limit. Your first manual target change on Better Thermostat still goes out immediately at the normal 30-second pace, and critical safety/off commands are never dropped.
Keep the TRV's sensor selection (Default: Off)
Section titled “Keep the TRV's sensor selection (Default: Off)”- What it does: Applies to TRVs that can regulate either on their own built-in sensor or on a room temperature written to them by Better Thermostat (Sonoff
TRVZB&TRV-ZBTand AqaraSRTS-A01):- When
Off(default): Better Thermostat writes the room temperature to the TRV and automatically switches the TRV’s sensor selection toexternal(and switches it back after a reset, re-pairing, or sensor fallback so the TRV keeps regulating on your room sensor). - When
On: Better Thermostat never changes the TRV’s sensor selection—whichever sensor mode you chose on the device stays untouched. The room temperature is still written in the background so switching the TRV to external mode later starts from a current reading (except when the configured room sensor belongs to the TRV itself, in which case its reading is not written back).
- When
- When to turn it on & what to keep in mind:
- Turn it On (and set the TRV to its internal sensor) when you want
Split the valve opening by each TRV's own temperatureon Screen 1 to compare individual radiator temperatures on SonoffTRVZB/TRV-ZBTvalves. - A Sonoff
TRVZBreverts to its internal sensor if it receives no external temperature for ~2 hours or after a reset/re-pairing; with this option on, Better Thermostat will not switch it back to external. - An Aqara
SRTS-A01left on its external input keeps regulating on the last written temperature if the room sensor stops reporting; with this option off, Better Thermostat automatically switches it to its internal sensor duringsensor_fallback/hold, whereas with this option on it leaves the selector untouched.
- Turn it On (and set the TRV to its internal sensor) when you want
HomematicIP / OpenCCU: Enabling Offset Based calibration
Section titled “HomematicIP / OpenCCU: Enabling Offset Based calibration”On Homematic(IP) Local for OpenCCU, Better Thermostat supports dropdown select.*_temperature_offset entities (1.5K, 2.0K, etc.) automatically—but OpenCCU hides the TEMPERATURE_OFFSET parameter by default! To unlock Offset Based calibration:
- Open Settings → Devices & Services → Homematic(IP) Local and click Configure.
- Open Advanced settings → UN-IGNORE parameters.
- Enable the
TEMPERATURE_OFFSETmaster parameter for your radiator model, for example:TEMPERATURE_OFFSET:MASTER@HmIP-eTRV(Homematic IP)TEMPERATURE_OFFSET:MASTER@HM-CC-RT-DNorTEMPERATURE_OFFSET:MASTER@HM-CC-RT-DN-BoM(Homematic Classic)
- Reload the Homematic integration so
select.<room>_temperature_offsetappears in Home Assistant, then open Better Thermostat’s configuration to selectOffset Based.
Renaming entities safely
Section titled “Renaming entities safely”If you rename any entity ID that Better Thermostat uses in Home Assistant (a TRV, cooler, room sensor, window/door sensor, or outdoor sensor), Better Thermostat detects the registry rename automatically, migrates all per-TRV options, helper entities, and learned thermal/PID/MPC data to the new entity ID, and reloads itself cleanly. Removing a TRV from a room purges its learned state so reusing that entity ID later starts fresh.