IKEA Styrbar Multi-Device Controller
Turn your IKEA Styrbar into a multi-zone controller. Instead of controlling just one light, seamlessly cycle through different devices in your room using the arrow buttons!
GitHub Repository with full documentation: Xat0X/ha-blueprint-ikea-styrbar
Why this blueprint?
Most blueprints limit you to controlling one specific group of lights. If you want to control the living room ceiling light, but also want to dim the reading lamp with the exact same remote, you usually need a second remote. This blueprint fixes that.
Key Features
Universal Compatibility: Works flawlessly with all Styrbar models via Zigbee2MQTT (E2001,E2002, and the new AAA-batteryE2313).
Multi-Device Control: Use the Left and Right buttons to cycle through your selected lights or switches.
Visual Feedback: The selected light will briefly blink, so you always know exactly which device you are controlling before you change the brightness.
Advanced Smooth Dimming: Optional transition-based smooth dimming. Configure step size and transition time (up to 2 seconds) per entity.
Dimming Threshold: Never accidentally turn your lights off when dimming down! Set a minimum brightness threshold (e.g., 1%).
Custom Long-Press Actions: Fully customizable actions for holding or releasing the Left and Right arrow buttons.
Prerequisites (Important!)
Before you import and create the automation, you MUST create a Helper in Home Assistant. This helper acts as the remoteβs βmemoryβ to remember which light is currently selected.
- Go to Settings β Devices & Services β Helpers.
- Click + CREATE HELPER and select Number.
- Set the following values:
- Minimum:
0 - Maximum:
10(or higher, depending on how many lights you want to control) - Step size:
1
- Minimum:
- Select this newly created helper in the Blueprint settings under Selected Light/Switch Input Number Helper.
How it works
- You walk into the room and want to control the reading lamp instead of the ceiling light.
- You press the Right Arrow button on the Styrbar.
- The blueprint increments your helper.
- The reading lamp briefly blinks to visually confirm it is now the active target.
- You press the Top or Bottom button, and only the reading lamp turns on or dims!
Changelog
- v1.5 (2026-04-17): Added support for newer hardware (
E2313) by relaxing the IKEA manufacturer device filter. - v1.4: Added smooth dimming (max 2s), per-entity smooth dimming selection, raw target lists, and a minimum dimming threshold to prevent accidental turn-offs.
If you have any questions or run into issues, let me know below!
Created with
by Xat0X