Skip to content

Instantly share code, notes, and snippets.

@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: