Skip to content

Instantly share code, notes, and snippets.

@zollak
zollak / motion_activated_light.yaml
Last active June 2, 2025 10:33
Custom Home Assistant blueprint YAML that improves on the built-in "Motion-activated Light" automation by allowing multiple triggers: presence sensor, door/window sensor, and door cover. It also includes a check for ambient light level (illuminance) before turning on the ceiling light, and it retains the built-in delay before turning the light off.
blueprint:
name: Motion + Door Activated Light with Illuminance Check
description: >
Turns on the light when occupancy is detected, door/window opens,
or the cover starts opening, but only if it's dark enough.
Turns off after no presence is detected for the specified time.
domain: automation
source_url: https://gist.github.com/zollak/d5250551e8a806e269c261dc30f2f67d
author: zollak
input:
@zollak
zollak / renew_ssl_cert.yaml
Last active September 3, 2024 08:34 — forked from TJ-developer/renew_ssl_cert.yaml
Homeassistant Blueprint for SSL-Certificate renewal
blueprint:
name: Renew Let's Encrypt Certificate
description: Renew Certificate when due date is below given value
domain: automation
input:
cert_expiry_sensor:
name: Certificate Expiry Sensor
description: Sensor from the Certificate Expiry Integration (https://www.home-assistant.io/integrations/cert_expiry)
selector:
entity: