Skip to content

TRADFRI on/off switch not firing DIM_DOWN events #2024

@xcyb0rg

Description

@xcyb0rg

Hi,

I have a TRADFRI on/off switch which works mostly fine, except that it mistakenly fires DIM_DOWN events as DIM_UP. I looked over the zhaquirks.ikea.twobtnremote.IkeaTradfriRemote2Btn file, but nothing jumps at me as being incorrect. I tried tweaking commands and events, things do change, but I cannot make DIM_DOWN work.

The Logbook correctly lists the events when I keep the "Up" button pressed (first the long press and then the release):

Ikea_Switch Move With On Off event was fired with parameters: {'move_mode': <MoveMode.Up: 0>, 'rate': 83}
Ikea_Switch Remote Button Long Release - Dim Up event was fired

But when I keep the "Down" button pressed, even though the Move is clearly shown as "Down", the release event is fired as "Dim Up" !?

Ikea_Switch Move event was fired with parameters: {'move_mode': <MoveMode.Down: 1>, 'rate': 83, 'options_mask': <bitmap8.0: 0>, 'options_override': <bitmap8.0: 0>}
Ikea_Switch Remote Button Long Release - Dim Up event was fired

I'm using Home Assistant 2022.12.7.

Where is the problem?

Thank you,
Mihai

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementImprove an existing quirkstaleIssue is inactivate and might get closed soon

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions