Skip to content

Instantly share code, notes, and snippets.

@SirUli
SirUli / contact-sensor-left-open-notification.yaml
Last active December 22, 2025 08:20 — forked from lnlyssg/contact-sensor-left-open-notification.yaml
Home Assistant Blueprint: Contact Sensor Left Open Notification
blueprint:
name: 🚪 Contact Sensor Left Open Notification
description: |
📲 Notifies you when a door or window is left open.
🚀 Version 2025.12.22.1
Are you tired of worrying about open doors or windows? This blueprint has got you covered! It's designed to send you a prompt notification when a door or window remains open for a specified duration.
📖 For Details see this [Blog post](https://community.home-assistant.io/t/contact-sensor-door-or-window-left-open-notification/652571)
@SirUli
SirUli / ha-water-usage-anomaly-alert.yaml
Last active October 27, 2025 10:29
Home-Assistant - Water Usage Anomaly Alert
blueprint:
name: Water Usage Anomaly Alert
description: >-
Monitors a water flow rate sensor and sends a critical notification for two conditions:
1. High Flow: Flow rate is above a high threshold for a short time (e.g., burst pipe).
2. Continuous Flow: Flow rate is above a low threshold for a long time (e.g., small leak).
**Prerequisite: Flow Rate Sensor**
This blueprint requires a sensor that reports the *current flow rate* (e.g., in L/min or GPM).
@SirUli
SirUli / ha-freezer-fridge-monitoring.yaml
Last active October 19, 2025 19:48
Monitors a fridge or freezer for high temperature, excessive hourly power consumption, and sensor connectivity.
blueprint:
name: Fridge & Freezer Monitor (v3)
description: >-
Monitors a fridge or freezer for high temperature, excessive hourly power consumption, and sensor connectivity.
**IMPORTANT REQUIREMENT:**
This blueprint requires an hourly energy sensor in kWh. If your smart plug only provides power in Watts (W), you **must create a Utility Meter sensor first**.
To do this, add the following to your `configuration.yaml` file, restart Home Assistant, and then select the new sensor (e.g., `sensor.fridge_hourly_energy`) in this blueprint's "Hourly Energy Sensor" input.
@SirUli
SirUli / gist:de94ddb751b91adfa6809f286a18a382
Created September 17, 2023 20:27
disable-pcie-overlay.dts
/*
* disable-pcie-overlay.dts
*/
/dts-v1/;
/plugin/;
/ {
compatible = "brcm,bcm2835";
@SirUli
SirUli / hermsi-docker-gc.sh
Created October 30, 2022 09:59 — forked from Hermsi1337/hermsi-docker-gc.sh
Docker Cleanup Script for Gitlab-Runners
#!/usr/bin/env bash
if [[ -n "${DEBUG}" ]]; then
set -x
fi
# Run container removal
CONTAINER_NAMES_TO_EXCLUDE=()
CONTAINER_NAMES_TO_EXCLUDE+=("gitlab-runner")
blueprint:
name: "KNX - Expose binary_sensor state to KNX"
description: "Exposes a binary_sensor state on a KNX group address"
domain: automation
input:
binary_device:
name: "Entity which has the binary state"
description: 'Entity with binary state'
selector:
entity:
blueprint:
name: Fully Browser Tablet Screen and Brightness
description: Enables and disables the Fully Tablet Screen and Brightness according to an external sensor
domain: automation
input:
fully_tablet_screen:
name: Entity of the fully Tablet Screen
description: 'Screen entity of the fully browser'
selector:
entity: