Skip to content

Instantly share code, notes, and snippets.

@alexdetsch
alexdetsch / shutter_automation.yaml
Last active March 26, 2026 08:59
Homeassistant Blueprint Shutter Automation
blueprint:
name: Shutter Control with Window Sensor
description: >
v1.2 | Controls a shutter on a time schedule and reacts to window open/close
events. Features: close/open/20%-dim at configurable times (or via an entity
for dynamic times like sunset), window reaction, ventilation position when the
window is open at closing time, smart re-close logic in the morning, and
guest/away modes that suppress automatic opening.
domain: automation
@alexdetsch
alexdetsch / advanced-motion-activated-light.yaml
Last active February 26, 2026 14:30
Homeassistant Blueprint Advanced Motion activated light
blueprint:
name: Advanced Motion-Activated Lighting
description: Turn lights on when motion is detected and off after a delay, with automatic vs manual control detection, conditions, and advanced features.
domain: automation
source_url: https://gist.github.com/alexdetsch/486d5e4d96aa53350cc37aea19b933d0
input:
motion_sensors:
name: Motion Sensors
description: Motion sensors that trigger the lights
selector: