You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I press anything other than the centre button the required action set in the blueprint does not trigger, I've attached the trace from the automation for a failed short button down push.
I'm not a programmer but looking through the code and the trace I think the pattern expected by the automation from ZHA for the button press event is not matching what is recorded by the blueprint in the trigger_action variable so it errors out
e.g. in this case trigger_action appears to be recorded as step_StepMode.Down_43_5_bitmap8.0_bitmap8.0 but my reading of the blueprint code make it look like it is expecting button_down_short = step_1_43_5.
I've tried this with 2 different E1810 remotes and neither work with both remotes having the same result and the same data recorded.
Reading the solutions to bugs 312 & 313 this is clearly related, I've edited the blueprint with the codes that ZHA is now sending and expanded the helper to 255 chars and it now works fine, at least for what I've tried (up/down, left/right, centre single push and centre long push, I've not tried any double clicks).
If it helps anyone else or for the main release to get fixed faster here is the edited code.
While up&down are working again for me (I should really learn to check github for issues before trying to re-add all of the related blueprints & automations!), center long press still doesn't work for me!
Edit: after adding a short-press function, long press worked!
Edit2: short-press is always triggered first though, so I'm using double-press instead of long for now!
Blueprint name
Controller - IKEA E1524/E1810 TRÅDFRI Wireless 5-Button Remote
Home Assistant Core Version
2022.4.2
Home Assistant Installation Type
Home Assistant Operating System
Description
When I press anything other than the centre button the required action set in the blueprint does not trigger, I've attached the trace from the automation for a failed short button down push.
I'm not a programmer but looking through the code and the trace I think the pattern expected by the automation from ZHA for the button press event is not matching what is recorded by the blueprint in the trigger_action variable so it errors out
e.g. in this case trigger_action appears to be recorded as step_StepMode.Down_43_5_bitmap8.0_bitmap8.0 but my reading of the blueprint code make it look like it is expecting button_down_short = step_1_43_5.
I've tried this with 2 different E1810 remotes and neither work with both remotes having the same result and the same data recorded.
trace automation.controller_ikea_e1524_e1810_tradfri_wireless_5_button_remote 2022-04-13T17_31_16.895672+00_00.txt
Automation YAML config
To Reproduce
Expected behavior
the desired action to tigger e.g. when up is pushed a scene activates
Actual Behaviour
nothing happens when button is pushed e.g. when up is pushed the scene does not activate
Additional Details
Screenshots
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: