Skip to content

Instantly share code, notes, and snippets.

@gresie
gresie / window_controlled_heater.yaml
Last active April 6, 2022 15:25 — forked from quallenbezwinger/window_controlled_heater.yaml
Homeassistant blueprint to switch heater on or off depending on window or door sensor
blueprint:
name: window controlled heater
description: turn off heater when opening window and turn on with delay
domain: automation
source_url: https://gist.github.com/gresie/476f1169ddd4a1bbbb12662f5b20e383
#forked from https://gist.github.com/dirkk1980/8ba849b480844b32e9ca484e6de5d552
#inspired by https://github.com/home-assistant/core/blob/dev/homeassistant/components/automation/blueprints/motion_light.yaml
input:
heating_target:
name: Heater