Minimal automation blueprint for Better Thermostat. It focuses on per-room preset selection from presence, motion, night mode, and optional boost / eco / activity inputs. It does not duplicate window, outdoor, or min-temperature logic—Better Thermostat already handles that.
Import
Open blueprint import in your Home Assistant instance (plain link)
- Blueprint (raw): https://raw.githubusercontent.com/n3roGit/MyHomeAssistantMods/main/automation/BetterThermostatControl/BetterThermostat_RoomHeatControl_Lean.yaml
- Repo / README: GitHub - n3roGit/MyHomeAssistantMods · GitHub — writeback bounds table is in the README
Requirements
- Home Assistant 2023.1+
- Better Thermostat integration; you pick the device—the first
climate.*entity on that device is used automatically.
Behaviour (high level)
- Preset priority:
boost→sleep→away→eco→activity→comfort(motion) →home. set_preset_modeonly when needed: if the target preset already matchespreset_mode, the service is not called, so manual target temperatures are not reset every minute.- Triggers: presence, motion, night mode state changes, plus a once-per-minute time pattern to stay in sync.
Optional features
- Temperature writeback: optional sync of the climate
temperatureattribute to the matching Better Thermostat presetnumber.*entity (only when the current preset already equals the computed target). - Writeback bounds: optional fixed min/max °C per preset so out-of-range manual values are not written (table in the README).
Inputs
Required: Better Thermostat device, presence helper, motion binary sensor, night mode, master enable switch.
Optional: boost, eco, activity entities; writeback on/off; writeback bounds on/off.
Feedback and PRs welcome on GitHub.

