Skip to content

Instantly share code, notes, and snippets.

@mirisbowring
mirisbowring / smart_welcome_music.yaml
Last active August 18, 2026 10:26
HA Blueprint - Smart Welcome Music
blueprint:
name: Smart Welcome Music
description: >-
Runs welcome actions when presence returns after a short or long absence,
based on a shared presence state helper.
This blueprint is action-focused (music + TTS) and should be paired with
the separate Presence State Machine blueprint that maintains these states:
- Present
- Absent_Short
@mirisbowring
mirisbowring / smart_presence_state_machine.yaml
Last active August 23, 2026 12:00
HA Blueprint - Smart Presence State Machine
blueprint:
name: Smart Presence State Machine
description: >-
Presence-only state machine for a floor/apartment.
Prerequisite:
Create an input_select helper with exactly these options:
- Present
- Absent_Short
- Absent_Long
blueprint:
name: Lawn Mower Schedule
description: >-
Schedules a robot lawn mower on a per-day basis, each day with its own
start time. Optionally sets the cut height before starting. Supports
optional "started" and "finished" (docked) notifications via any notify
entity.
domain: automation
input:
blueprint:
name: Vacuum Floor Schedule
description: >-
Schedules a Dreame vacuum robot to sweep or sweep+mop on a per-day basis,
each day with its own mode and start time. Supports optional pre-start and
result notifications via any notify service.
domain: automation
input:
vacuum_section:
@mirisbowring
mirisbowring / ha-expose-switch-to-knx.yaml
Last active July 30, 2026 19:57
HomeAssistant Expose Light/Switch to KNX
blueprint:
name: "HomeAssistant expose Switch to KNX"
description: >
Control lights or switches via a KNX switch entity. Includes optional
brightness and color temperature settings for lights.
domain: automation
input:
knx_switch_entity:
name: KNX Switch Entity
description: The KNX switch entity defined in your Home Assistant configuration.
@mirisbowring
mirisbowring / pool-pump-scheduler-pv.yaml
Last active April 27, 2026 19:14
Schedules Pool Pump activity based on min activity per day, blocked times (like night) and has an option to steer the pump with solar overproduction
blueprint:
name: Pool Controller V6 (Auto-Cycle Calculation & PV)
description: "Advanced pool pump controller using a grid sensor for PV surplus. Features anti-cycling delays, a daily minimum runtime guarantee, and an optional 'Force Cycles' toggle. The minimum cycle duration is automatically calculated based on pool volume and pump flow rate (1 full turnover). Requires an Input Select (Mode), Input Boolean (Force Cycle), and a History Stats sensor."
domain: automation
input:
pool_pump_switch:
name: Pool Pump Switch
description: "The smart switch controlling your pool pump (e.g., Shelly)."
selector:
entity: