[Velair Blueprint] Pause a zone while windows are open

This blueprint pauses one or more Velair-managed climates when a selected window or door remains open. Their schedules resume only after every selected contact is confirmed closed and the pause still belongs to this automation.

It supports both heating and cooling and can either keep the current climate state or turn the selected climates off while paused.

Import Blueprint

What it does

  • Watches multiple window, door or opening binary sensors.
  • Pauses one or more Velair-managed climates after any contact remains open for the configured delay.
  • Optionally turns the climates off or leaves their current physical state unchanged.
  • Resumes only after every selected contact remains closed for the configured delay.
  • Removes only the pause reason created by this automation.
  • Never treats unknown or unavailable as safely closed.
  • Reports unavailable contacts and affected thermostats through one delayed notification.
  • Reconciles the current state after Home Assistant restarts.
  • Uses state events and native timers; it does not poll.

Requirements

  • Velair 1.6.0 or newer.
  • Home Assistant 2024.6.0 or newer.
  • One or more climate entities already managed by Velair.
  • One or more binary_sensor entities using the window, door or opening device class.
  • Each contact must report on when open and off when closed.

Example

Managed thermostats:
  - climate.living_room
  - climate.living_room_radiator

Windows and doors:
  - binary_sensor.living_room_left_window
  - binary_sensor.living_room_right_window

Climate action while paused: Turn off
Open delay: 2 minutes
Close delay: 30 seconds
Availability warning delay: 5 minutes

If either window remains open for two minutes, both climates are paused and turned off. Once every contact has remained closed for 30 seconds, the blueprint removes its pause reason and Velair resumes the applicable schedules.

Safe pause ownership

The blueprint uses a stable Pause ID so it can remove only the pause reason it created.

This means:

  • It does not remove a manual pause.
  • It does not remove a pause created by another automation.
  • Closing one window automation cannot resume a zone that is still paused for another reason.
  • Existing scripts and automations that call Velair without a Pause ID keep their established full-authority behavior.

For one window automation, the default Pause ID can be kept. If separate window automations target the same thermostat, give each automation a different stable Pause ID.

Unavailable contacts

An unavailable contact prevents the all-closed condition and therefore prevents an unsafe resume. After the configurable warning delay—5 minutes by default—Home Assistant creates one notification listing:

  • the contacts reporting unknown or unavailable;
  • the affected managed climates;
  • why Velair is not resuming them.

The warning is dismissed automatically after the contacts recover. Other contacts that still report reliably can continue to trigger the open-window pause.

Version and updates

  • Blueprint version: 1.0.0
  • Released with Velair: 1.6.0
  • Minimum Velair version: 1.6.0
  • Minimum Home Assistant version: 2024.6.0

The import button follows the rolling version maintained on GitHub. Home Assistant does not update imported blueprints automatically; re-import the same URL to install a compatible update.

Version 1 updates preserve existing input names and provide defaults for new inputs. Using Take control creates an independent automation that no longer receives blueprint updates.

Documentation and source

Feedback is welcome, especially from installations using several contacts or several climates in the same room.

3 Likes