Skip to content

Instantly share code, notes, and snippets.

@alexdetsch
alexdetsch / device-progress-notification.yaml
Last active April 18, 2026 15:05
Homeassistant Blueprint Device Progress Notification
blueprint:
name: "Device Progress Notification"
description: >
Displays a persistent Android notification with progress bar, percentage,
remaining time, and estimated completion time for any device that reports
operation state and progress. Supports both remaining-time countdown
(e.g. Bambu Lab) and end-time timestamp (e.g. HomeConnect) as time source.
Create one automation per device. (v1.4.0)
source_url: https://gist.github.com/alexdetsch/42d4c07d906eceed5d088231bb87dd7d
domain: automation
@alexdetsch
alexdetsch / shutter_automation.yaml
Last active April 5, 2026 18:43
Homeassistant Blueprint Shutter Automation
blueprint:
name: Shutter Control with Window Sensor
description: >
v1.4 | 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.
Guest mode: suppresses ALL time-based actions (open, dim, close) but keeps
window-triggered open/close working.
@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: