Skip to content

Bug - IKEA E2201 (Rodret) – Dim Down Long Press Does Not Stop (ZHA) #995

@Plinius

Description

@Plinius

Blueprint name

blueprints/controllers/ikea_e2201/ikea_e2201.yaml

Home Assistant Core Version

2026.2.1

Home Assistant Installation Type

Home Assistant Operating System

Description

When using the IKEA E2201 (Rodret) with ZHA, a long-press dim down always continues dimming all the way to zero, regardless of how long the button is held.
Dim up works correctly and stops as expected when the button is released.

Automation YAML config

alias: Bedroom Button (User)
description: ""
use_blueprint:
  path: EPMatt/ikea_e2201.yaml
  input:
    controller_device: REDACTED_DEVICE_ID
    action_button_up_short:
      - action: light.turn_on
        metadata: {}
        target:
          entity_id:
            - light.bedroom_user_lamp
        data:
          transition: 2
          brightness_pct: 35
          color_temp_kelvin: 2000

    action_button_up_long:
      - action: light.turn_on
        metadata: {}
        target:
          entity_id:
            - light.bedroom_user_lamp
        data:
          brightness_step_pct: 5
          color_temp_kelvin: >-
            {{ state_attr('light.bedroom_user_lamp', 'color_temp_kelvin')|int + 50 }}
          transition: 0.5

    action_button_up_double:
      - action: light.turn_on
        metadata: {}
        target:
          entity_id:
            - light.bedroom_window_light
            - light.bedroom_lightbar
        data:
          transition: 1
          brightness_pct: 100

    action_button_down_short:
      - action: light.turn_off
        metadata: {}
        target:
          entity_id:
            - light.bedroom_window_light
            - light.bedroom_lightbar
            - light.bedroom_user_lamp
        data:
          transition: 1
        enabled: true

    action_button_down_long:
      - action: light.turn_on
        metadata: {}
        target:
          entity_id:
            - light.bedroom_user_lamp
        data:
          brightness_step_pct: -5
          color_temp_kelvin: >-
            {{ state_attr('light.bedroom_user_lamp', 'color_temp_kelvin')|int - 50 }}
          transition: 0.5

    button_up_double_press_exposed: true
    button_up_long_max_loop_repeats: 20
    button_down_long_max_loop_repeats: 20
    button_down_double_press_exposed: true

    action_button_down_double:
      - action: light.turn_off
        metadata: {}
        target:
          entity_id:
            - light.bedroom_window_light
            - light.bedroom_lightbar
            - light.bedroom_user_lamp
        data:
          transition: 1

To Reproduce

  1. Go to Home Assistant and pair an IKEA E2201 (Rodret) remote using the ZHA integration.
  2. Click on Automations and create a new automation using the ikea_e2201.yaml blueprint.
  3. Assign a dimmable light to the dim up and dim down actions.
  4. Trigger a long press on the dim down button and release it.
  5. See the dimming continue until brightness reaches zero instead of stopping.

Expected behavior

Dimming should stop when the button is released, both when increasing and decreasing brightness.

Actual Behaviour

Long-press dim down continues to 0%
Release of the button is not detected
Long-press dim up works correctly

Additional Details

  • I'd like to help developing a fix for this issue.

Screenshots

No response

Additional context

Locate the ZHA trigger handling down long press (around line ~595) and change:

event_type: zha_event
event_data:
  device_id: !input controller_device
  command: stop
  cluster_id: 8
  endpoint_id: 1

to:

event_type: zha_event
event_data:
  device_id: !input controller_device
  command: stop_with_on_off
  cluster_id: 8
  endpoint_id: 1
Result After Fix

Dim down stops correctly on button release
Behavior matches dim up
No negative side effects observed

Additional Notes

Tested with:
Home Assistant OS (Core2026.2.1)
ZHA
IKEA E2201 (Rodret) Firmware: 0x01000057

Thank you for an excellent blueprint – this small change makes the Rodret work perfectly with ZHA

Metadata

Metadata

Assignees

No one assigned

    Labels

    blueprintAn issue related to a blueprintbugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions