Skip to content

Instantly share code, notes, and snippets.

@schiberis
schiberis / zha-ikea-four-button-remote-styrbar.yaml
Last active October 11, 2025 23:24
• UP/DOWN (short): ON / OFF • UP/DOWN (hold): fast and smooth brightness stepping that stops immediately on release (implemented with `mode: restart` for zero run-on) • LEFT/RIGHT (short): cycle through 6 preset RGB colors (wrap-around; uses an input_number helper to track index) • LEFT/RIGHT (long press): optional custom actions (empty by defa…
blueprint:
name: ZHA – IKEA STYRBAR all controls & 6-color palette (modern syntax)
description: >
Smooth, responsive control for the IKEA STYRBAR (square) remote on ZHA.
• UP/DOWN (short): ON / OFF
• UP/DOWN (hold): fast and smooth brightness stepping that stops immediately on release
(implemented with `mode: restart` for zero run-on)
• LEFT/RIGHT (short): cycle through 6 preset RGB colors (wrap-around; uses an input_number helper to track index)
• LEFT/RIGHT (long press): optional custom actions (empty by default)
@schiberis
schiberis / ha_water_leak_alarm.yaml
Last active October 11, 2025 14:40
Sends mobile push and/or HA UI persistent notifications with minimal controls. No siren/switch options.
blueprint:
name: Water Leak Alarm – mobile + HA UI notifications (modern syntax)
description: >
IKEA BADRING (or any wet/dry sensor). Choose mobile push and/or
HA UI (persistent) notifications. Minimal, future-proof syntax.
domain: automation
input:
leak_sensor:
name: Leak sensor entity