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
alias: Controller - IKEA E1743 TRÅDFRI On/Off Switch & Dimmerdescription: ""use_blueprint:
path: EPMatt/ikea_e1743.yamlinput:
integration: ZHAcontroller_device: 32a1983edde5994acc4f75405484ddfbhelper_last_controller_event: input_text.on_off_button_stateaction_button_up_long:
- service: persistent_notification.createdata:
message: up longaction_button_up_release:
- service: persistent_notification.createdata:
message: up releaseaction_button_up_short:
- service: persistent_notification.createdata:
message: up shortaction_button_up_double:
- service: persistent_notification.createdata:
message: up doubleaction_button_down_short:
- service: persistent_notification.createdata:
message: down shortaction_button_down_long:
- service: persistent_notification.createdata:
message: down longaction_button_down_release:
- service: persistent_notification.createdata:
message: down releaseaction_button_down_double:
- service: persistent_notification.createdata:
message: down doublebutton_up_long_loop: truebutton_down_long_loop: truebutton_down_long_max_loop_repeats: 5button_up_long_max_loop_repeats: 5button_up_double_press: truebutton_down_double_press: true
To Reproduce
Use Blueprint as Automation which fires notifications based on button actions
eg. long press up button on E1743 button and release after about 2 seconds
Expected behavior
Run Action for long press (Notification: "up long")
- conditions: '{{ trigger_action | string in button_up_long }}'
So it compares trigger action with actions_mapping but they don't match because the trigger action somehow reads "MoveMode.Up" from the zha_event (trigger.event.data.args) instead of "0" "move_with_on_off_MoveMode.Up_83" | "move_with_on_off_0_83"
I've the same problem, it started when I moved from DECONZ to ZHA.
No way to dim light now.
EDIT: There are numerous PULL REQUESTS to fix this problem but I see that no changes have been made to the blueprints for more than a year. I'll try to point to one of these forks and see if I fix it, although it should be handled here.
Blueprint name
ikea_e1743.yaml
Home Assistant Core Version
2023.10.5
Home Assistant Installation Type
Home Assistant Operating System
Description
Actions are not fired because trigger_action does not match actions_mapping
zha
usb-Texas_Instruments_TI_CC2531
zigpy-znp
TRADFRI on/off switchby IKEA of Sweden
Zigbee info
Quirk: zhaquirks.ikea.twobtnremote.IkeaTradfriRemote2Btn
sw_build_id: 24.4.6
Should be the latest version:
https://ww8.ikea.com/ikeahomesmart/releasenotes/releasenotes.html
And I have ZHA OTA updates enabled
Automation YAML config
To Reproduce
Use Blueprint as Automation which fires notifications based on button actions
eg. long press up button on E1743 button and release after about 2 seconds
Expected behavior
Run Action for long press (Notification: "up long")
Actual Behaviour
Trigger_action I get from text helper:
But actions_mapping for zha is:
- conditions: '{{ trigger_action | string in button_up_long }}'
So it compares trigger action with actions_mapping but they don't match because the trigger action somehow reads "MoveMode.Up" from the zha_event (trigger.event.data.args) instead of "0"
"move_with_on_off_MoveMode.Up_83" | "move_with_on_off_0_83"
zha events:
Additional Details
Screenshots
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: