Open cstrand89 opened 2 years ago
Hi @cstrand89,
thank you for reporting here. Could you please provide the full YAML for the automation you're trying to configure with this blueprint?
Thanks!
alias: IKEA guest bedroom switch
description: ''
use_blueprint:
path: EPMatt/ikea_e1812.yaml
input:
integration: ZHA
helper_last_controller_event: input_text.ikea_guest_bedroom_switch
action_button_short:
- service: light.toggle
target:
entity_id:
- light.guest_nightstand
- service: switch.toggle
target:
entity_id: switch.innr_sp_222_guest_room_on_off
button_double_press: true
action_button_double:
- service: light.toggle
target:
entity_id: light.ceiling_guest_room
helper_double_press_delay: 1000
action_button_long:
- service: light.turn_off
target:
area_id: guest_room
controller_device: 184c695c20c65bdc5409e8790e69405c
Hi @cstrand89,
thank you for your quick feedback. The YAML for your automation looks good to me.
Did you notice any entries in the Home Assistant logs while trying to trigger the double press event?
Moreover, could you also please share screenshots/traces from the HA automation trace tool for the automation runs triggered when double pressing the button? This way we should be able to detect what is causing the lamp not to be toggled by the automation.
Thanks!
Hi, I have the same problem. Double click not functioning. Short/Long/Release etc functioning so I think my configuration is ok. Here my zha_event on double click
{ "event_type": "zha_event", "data": { "device_ieee": "mydevice", "unique_id": "myid", "device_id": "mydeviceid", "endpoint_id": 1, "cluster_id": 6, "command": "off", "args": [] }, "origin": "LOCAL", "time_fired": "xxxxxxxxx", "context": { "id": "6f8713758c7037a19d2fb3a8c1259942", "parent_id": null, "user_id": null } }
Hi, I solved this. There is actually a different message from the E1812 for double clicks. I modified EPMatt's E1812 so that instead of having a virtual double-click, it listens to the action from the E1812 itself, that emerged in one of the IKEA patches in I believe 2021.
I have not (yet) filed a Pull Request, and I have only verified this with Zigbee2MQTT, but it should work fine with deCONZ and ZHA as well, although not tested.
See: https://gist.github.com/rschoultz/132b6f1ad46ac5dc6356c1a49b3d50ad
Hi, I have the same problem. Double click not functioning. Short/Long/Release etc functioning so I think my configuration is ok.
@ArsenioLupin or @cstrand89 ; I made a PR to change this blueprint, but I have only tested it on Zigbee2MQTT. If you can, would you be able to test it for ZHA? I.e. by importing the blueprint; This will overwrite the one you have as it has the same name, I believe: https://raw.githubusercontent.com/rschoultz/awesome-ha-blueprints/e1812-hw-double-click/blueprints/controllers/ikea_e1812/ikea_e1812.yaml
Tested this on ZHA. Double click works for me now. Thanks!
Hi @rschoultz,
thank you for your patience and for your precious contribution. I'm sorry for my late response. I'll get ahead and review your PR. :)
Huge thanks to @jstorgaard and @ArsenioLupin too, who reported their findings here. Hopefully we'll be able to mark this issue as solved soon. 🚀
@EPMatt I'm using your original blueprint (github.com/EPMatt/awesome-ha-blueprints/blob/main/blueprints/controllers/ikea_e2001_e2002/ikea_e2001_e2002.yaml) and am still seeing that double clicks are not working. Are you planning on making an update or should I pull from https://github.com/EPMatt/awesome-ha-blueprints/issues/168#issuecomment-1003729142 instead? Thanks!
Blueprint name
IKEA E1812 TRÅDFRI Shortcut button
Home Assistant Core Version
2021.10.6
Home Assistant Installation Type
Home Assistant Operating System
Description
The double press is no longer recognized for any of my shortcut buttons. This stopped working recently out of the blue. I have the latest blueprint installed.
Automation YAML config
To Reproduce
Expected behavior
Track virtual double clicks when activated
Actual Behaviour
Virtual double clicks not processed
Additional Details
Screenshots
No response
Additional context
No response