Closed tbaumann closed 5 months ago
Hiya If you’re reporting a bug about the lsismeiro repository, if you’re still experiencing issues please create a new issue there and we can help 👍
Oh I think you may have pointed my nose on the issue. I was doing all that on the phone I may have gotten the repos mixed up.
I reproduced it with the issue with the correct blueprint. I switched to a different HA instance and had to set it up again anyway.
I still get the spurious up events. But only when I long press. But what's even more weird now is that I get zero long press events.
Hi there,
🔒 This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new ticket for related bugs.
Thanks!
Blueprint name
https://github.com/lsismeiro/awesome-ha-blueprints/blob/20e23499259335b8198f0452db14a7e5a051d4cc/blueprints/controllers/ikea_e2001_e2002/ikea_e2001_e2002.yaml
Home Assistant Core Version
2023.12.3
Home Assistant Installation Type
Home Assistant Operating System
Description
This is potentially related to https://github.com/EPMatt/awesome-ha-blueprints/issues/399 but I don't think so.
I imported the latest blueprint version (the forum refers to an older version where long press actions seem completely dysfunctional).
Up and Down Long press work fine. I receive
button_down_long
andbutton_down_release
ahb_controller_event events.However Left and Right long pressed are completely b0rked.
Pressing Button Left emits the following events in this order.
button_up_short
button_left_long
button_left_release
And Button Right these
button_up_short
button_right_long
button_right_release
I suppose the spurious
button_up_short
is a bug. The hooks also behave quite confused as a result.Automation YAML config
To Reproduce
Import controller blueprint via https://github.com/lsismeiro/awesome-ha-blueprints/blob/20e23499259335b8198f0452db14a7e5a051d4cc/blueprints/controllers/ikea_e2001_e2002/ikea_e2001_e2002.yaml
Create automation with a E2002
Listen to ahb_controller_event events
Expected behavior
Receive button_[left|right]long and button[left|right]_release on long press. Without the
button_up_short
firstActual Behaviour
After pressing the button long first a
button_up_short
event is emitted, only once the button is kept held down will the correct events be emitted.Additional Details
Screenshots
Additional context
No response