A new custom integration called Smart Heating Control has been shared on the Home Assistant forum. It is free, open source (MIT) and installed through HACS. The idea is simple: instead of a pile of heating automations that fight each other, one integration makes one decision per room and tells you why.
What it does
According to the author and the project page, it covers:
- Presence in three states: home, nearby and far. Nearby drops to eco, far drops to away.
- Schedules per room: workday, weekend and custom profiles, with holidays from the Workday integration.
- Optimal start and stop: each room learns how long it takes to warm up. Both are off by default and switched on per room.
- Windows: window sensors with delays, or detection from a sudden temperature drop if you have no sensors.
- Weather: heating off when it is warm outside, plus a heating season and optional forecast.
- Manual changes: turn a TRV by hand and the change is respected for a while, then the schedule returns.
- Safety: frost protection, a maximum temperature, command verification and alerts for dead batteries, unavailable devices and long-open windows.
Every room gets a Decision sensor showing which rule won. A Lovelace card is included and registers itself. The author discloses that the documentation was written with help from Claude and that the forum screenshots are mockups.
What it works with
Generic Thermostat (it only picks the preset, so the thermostat keeps working as before), TRVs that appear as climate entities (Tuya, Danfoss Ally, Aqara and Sonoff TRVZB are named), and plain relays or switches paired with a room temperature sensor. It needs Home Assistant 2026.6 or newer. Install through HACS as a custom repository, or from the HACS Marketplace in 2026.11, then restart.
The author says some effort went into real-world quirks, such as Tuya TRVs that report an old setpoint after a command and slow Zigbee TRVs that confirm minutes later, so neither is mistaken for a manual change.
What owners are asking
How does it start my boiler? Through a heat source, either a relay (a switch entity) or a climate entity that can fire the boiler. For an older boiler that listens only to a wired room thermostat, the author’s suggestion is a dry-contact relay (a Shelly 1 or a Zigbee dry-contact relay) either replacing the old thermostat or in parallel with it, so either can call for heat. They say it is a low-voltage contact on most boilers but to check yours and ask whoever services it if unsure. We would not wire anything to a boiler without that check.
Will it fight my TRV’s own schedules or child lock? The author says it does not use or change the TRV’s internal schedules. It sends a target temperature and sets heat mode. The child lock is the integration’s own switch per room: on, hand changes are reverted; off, they count as a temporary manual change.
How is it different from Better Thermostat or Versatile Thermostat? Those work per device or room. This one works across the whole house, with presence, learning and a shared heat source. The author thinks a Better Thermostat entity should work as a room device but has not tested that combination.
What to check before installing
- Confirm you are on Home Assistant 2026.6 or newer.
- Make sure your TRVs show up as climate entities with a target temperature.
- Decide how the boiler is fired, and turn off competing automations so only one thing controls each room.
- It is in active development and the author wants feedback, so start with one room.
Working Zigbee TRVs need no replacement for this. It is a software layer on top of what you already own. We have not used it ourselves; it is a new project with a small following, so treat it as one to trial rather than rely on for winter. More detail is in the project page, the guide and the forum thread.
Sources
- Smart Heating Control – heating schedules that follow presence, windows and weather (Generic Thermostat, TRVs, relays)
- GitHub – sandreialexandru/Smart-Heating-Control: Smart Heating Control for Home Assistant · GitHub
- Smart-Heating-Control/docs/guide/README.md at main · sandreialexandru/Smart-Heating-Control · GitHub
