πŸ“˜ Turn Off Heating When Door or Window Is Open

:fire: Turn Off Heating When Door or Window Is Open

:house: 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.


:link: Works Great With…
:jigsaw: Heating Schedule with Window or Door Check

This blueprint pairs perfectly with:

:point_right: 🌑️ Heating Schedule with Window or Door Check

Use it to:

:arrows_counterclockwise: Pause or adjust heating automatically whenever a window or door is opened
:date: Resume normal heating schedule once everything is closed again
:zap: Save energy without sacrificing comfort

:brain: Tip: Combine this blueprint with sensor groups for multiple windows/doors to create a smart, energy-efficient climate control system!


:hammer_and_wrench: Features

  • :white_check_mark: Works with multiple binary sensors (doors and/or windows)
  • :stopwatch: Triggers after a customizable open duration
  • :thermometer: Controls any climate device (climate domain)
  • :bulb: Simple and effective logic β€” great for winter months!

:jigsaw: Blueprint Inputs

Input Description
:unlock: Door or Window Sensors Select one or more binary_sensor entities with device class door or window
:hotsprings: Climate Device The heating/climate system to be turned off
:hourglass_flowing_sand: Open Duration How long the door/window must stay open before the heating is turned off

:gear: 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"

:speech_balloon: 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.

:inbox_tray: Import This Blueprint

You can import this blueprint directly into Home Assistant using this link:

Open your Home Assistant instance and show the blueprint import dialog with a specific blueprint pre-filled.

:handshake: 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