Skip to content

Instantly share code, notes, and snippets.

@cpw
cpw / zha-ikea-four-button-remote-styrbar.yaml
Last active October 11, 2025 23:53 — forked from schiberis/zha-ikea-four-button-remote-styrbar.yaml
• 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 3 preset colour temperatures (wrap-around; uses an input_number helper to track index)
• LEFT/RIGHT (long press): optional custom actions (empty by default)