home-assistant / core

:house_with_garden: Open source home automation that puts local control and privacy first.
https://www.home-assistant.io
Apache License 2.0
69.88k stars 28.98k forks source link

Aqara H1 WS-EUK04 "hold double" trigger is fired even when pressing only one button #120188

Open sattath opened 2 weeks ago

sattath commented 2 weeks ago

The problem

I'm using ZHA to control an Aqara H1 double rocker with neutral, namely, WS-EUK04. One of the triggers is called "both_buttons" button_hold. This event is triggered even if only one of the buttons (left or right) is held for a few seconds. This event should clearly be triggered only if both are held together.

Notice that currently there is a trigger for single left and single right press; similarly for double press. Unfortunately, there is only button_hold event which is triggered if any of the buttons is held, which is quite confusing, and probably not the intended behavior.

What version of Home Assistant Core has the issue?

core-2024.6.4

What was the last working version of Home Assistant Core?

No response

What type of installation are you running?

Home Assistant OS

Integration causing the issue

Zigbee Home Automation (ZHA)

Link to integration documentation on our website

https://www.home-assistant.io/integrations/zha

Diagnostics information

config_entry-zha-a7519756058924d57879ecbf53c6df3e.json

Example YAML snippet

No response

Anything in the logs that might be useful for us?

No response

Additional information

No response

home-assistant[bot] commented 2 weeks ago

Hey there @dmulcahey, @adminiuga, @puddly, @thejulianjes, mind taking a look at this issue as it has been labeled with an integration (zha) you are listed as a code owner for? Thanks!

Code owner commands Code owners of `zha` can trigger bot actions by commenting: - `@home-assistant close` Closes the issue. - `@home-assistant rename Awesome new title` Renames the issue. - `@home-assistant reopen` Reopen the issue. - `@home-assistant unassign zha` Removes the current integration label and assignees on the issue, add the integration domain after the command. - `@home-assistant add-label needs-more-information` Add a label (needs-more-information, problem in dependency, problem in custom component) to the issue. - `@home-assistant remove-label needs-more-information` Remove a label (needs-more-information, problem in dependency, problem in custom component) on the issue.

(message by CodeOwnersMention)


zha documentation zha source (message by IssueLinks)