No description
Find a file
andreas e669490559 Update ha-smart-thermostat-control.yaml
Attempt to prevent triggering by own change
2025-12-05 10:27:26 +01:00
ha-smart-thermostat-control.yaml Update ha-smart-thermostat-control.yaml 2025-12-05 10:27:26 +01:00
LICENSE Initial commit 2025-12-04 10:12:17 +01:00
README.md Update README.md 2025-12-04 12:02:11 +01:00

🌡️ Smart Thermostat Controller Blueprint

An intelligent Home Assistant automation that manages your heating based on multiple conditions for optimal comfort and energy efficiency.

Features

🪟 Window/Door Detection

Automatically turns off heating when windows or doors are opened, preventing energy waste. Configurable delay to avoid false triggers.

🌤️ Weather-Based Control

Monitors outdoor temperature and disables heating when it's warm enough outside. Includes adjustable winter mode threshold and delay settings.

📅 Schedule-Based Temperature Control

Uses a schedule helper or calendar to set different temperatures for:

  • ☀️ Day Mode - Higher comfort temperature during active hours
  • 🌙 Night Mode - Lower temperature for sleeping or away periods

🏖️ Holiday/Away Mode

Integrates with a calendar to automatically reduce heating when you're away. Smart pre-heating starts before you return home (configurable offset).

🔄 Multi-Thermostat Sync

Manual adjustment of any thermostat instantly syncs all others to the same temperature, giving you quick override control.

🎯 Priority-Based Logic

  1. Manual adjustments (highest priority)
  2. Windows/doors open → heating OFF
  3. Too warm outside → heating OFF
  4. Away mode → reduced temperature
  5. Day/night schedule → comfort temperatures

🛠️ Requirements

  • Window/door sensor(s) (binary_sensor)
  • Outdoor temperature sensor
  • Climate entity (thermostat)
  • Schedule helper OR calendar for day/night timing
  • Calendar for away/holiday periods

📊 Smart Logging

All mode changes are logged to your Home Assistant logbook for easy monitoring and debugging.

Acknowledgement and background

I tried different Home Assistant add-ons and integrations, but wasn't really satisfied in controlling room temperature in our house. The heating is based on central heating and radiators with different Zigbee-based termostats.

This blueprint for HA was initially inspired by ha-smarter-thermostat by muratcesmecioglu, but deviated through extending to also include an away calendar and a manual overwrite mode to allow manual inputs on the thermostats. Logic coding was assisted by claude.ai.