Turn Off Heating When Door or Window Is Open
Smart energy-saving automation for your home!
This blueprint automatically turns off your heating when any selected door or window is left open for a certain period of time.
Itβs ideal for saving energy and avoiding heating the outdoors when someone forgets to close a door or window.
Works Great Withβ¦
Heating Schedule with Window or Door Check
This blueprint pairs perfectly with:
π‘οΈ Heating Schedule with Window or Door Check
Use it to:
Pause or adjust heating automatically whenever a window or door is opened
Resume normal heating schedule once everything is closed again
Save energy without sacrificing comfort
Tip: Combine this blueprint with sensor groups for multiple windows/doors to create a smart, energy-efficient climate control system!
Features
Works with multiple binary sensors (doors and/or windows)
Triggers after a customizable open duration
Controls any climate device (
climate
domain)Simple and effective logic β great for winter months!
Blueprint Inputs
Input | Description |
---|---|
![]() |
Select one or more binary_sensor entities with device class door or window |
![]() |
The heating/climate system to be turned off |
![]() |
How long the door/window must stay open before the heating is turned off |
How it works
If any of the selected door or window sensors changes from off
to on
(closed β open) and remains open for the specified time, the automation will call:
climate.set_hvac_mode
hvac_mode: "off"
Use Case Examples
- Someone opens a balcony door and forgets it β this turns off the heating to save energy.
- A window is left open during winter β heating is turned off automatically after 5β10 minutes.
Import This Blueprint
You can import this blueprint directly into Home Assistant using this link:
Feedback & Contributions
Feel free to suggest improvements or share your use cases in the comments!
This blueprint is simple by design, but can be extended to:
- Turn heating back on when all doors/windows are closed
- Send notifications when triggered
- Combine with temperature thresholds for smarter control