Thanks @SandaleZ - I figured it out in the end
Double press not working with deCONZ
Any suggestion?
Thanks
Hi, have you changed the default mapping?
EDIT: you also have to expose (activate) the double press behavior.
Thanks SandaleZ, your solution for the missing long-press brightness up/down with ZHA worked for me as well
Hi, first of all, thank you for this awesome blueprint.
So far everything works wonderfull but I have the following problem. If I press the Up button of all my switches always goes a certain lamp with on. Does anyone have an idea what this can be?
All of my automation switches looks different and have not registered this lamp.
for an example
- id: '1674664944157'
alias: Schalter_Kueche_Belegung
description: ''
use_blueprint:
path: EPMatt/ikea_e1743.yaml
input:
integration: Zigbee2MQTT
controller_entity: sensor.schalter_kueche_action
action_button_up_short:
- type: turn_on
device_id: ed20fab380ad29bbd91bba7dde35137b
entity_id: light.yeelight_ceiling10_0x10d9a9e8
domain: light
action_button_up_long:
- device_id: ed20fab380ad29bbd91bba7dde35137b
domain: light
entity_id: light.yeelight_ceiling10_0x10d9a9e8
type: brightness_increase
action_button_up_double:
- type: turn_on
device_id: b93f4465b8c1229888030fc58a3b7753
entity_id: light.arbeitsplattenbeleuchtung
domain: light
button_up_double_press: true
button_down_double_press: true
helper_last_controller_event: input_text.helper_last_controller_event_kueche
action_button_down_short:
- type: turn_off
device_id: ed20fab380ad29bbd91bba7dde35137b
entity_id: light.yeelight_ceiling10_0x10d9a9e8
domain: light
action_button_down_double:
- type: turn_off
device_id: ed20fab380ad29bbd91bba7dde35137b
entity_id: light.yeelight_ceiling10_0x10d9a9e8
domain: light
- type: turn_off
device_id: b93f4465b8c1229888030fc58a3b7753
entity_id: light.arbeitsplattenbeleuchtung
domain: light
action_button_down_long:
- device_id: ed20fab380ad29bbd91bba7dde35137b
domain: light
entity_id: light.yeelight_ceiling10_0x10d9a9e8
type: brightness_decrease
but if i press âup shortâ the light light.schreibtischlampe turns on.
Doesnât seem to work for me. Any other advice?
Gibt es eine Möglichkeit das Dimmen zu verlangsamen? Ich kann leider nicht schnell genug reagieren um es zu stoppen xD
Thanks for this blueprint.
Everything works except the longpresses for me.
When I longpress it increases or decreases brightness once and then it hangs until the 500 loops are done. IF i change the loops to 10 the same things happens, it increases the dimmer 1 step then nothing.
This is my settings:
alias: Sovrum Switch Taklampa
description: ""
use_blueprint:
path: EPMatt/ikea_e1743.yaml
input:
integration: Zigbee2MQTT
controller_device: 007d6fb3b356df1e0b8fcde9bddafc53
controller_entity: sensor.sovrum_switch_action
helper_last_controller_event: input_text.sovrum_ikea_switch
action_button_up_short:
- type: toggle
device_id: 8d91c0ddf5d2e16e2f9e82520d399088
entity_id: light.sovrum_taklampa
domain: light
action_button_up_long:
- device_id: 8d91c0ddf5d2e16e2f9e82520d399088
domain: light
entity_id: light.sovrum_taklampa
type: brightness_increase
action_button_down_short:
- type: toggle
device_id: 8d91c0ddf5d2e16e2f9e82520d399088
entity_id: light.sovrum_taklampa
domain: light
action_button_down_long:
- device_id: 8d91c0ddf5d2e16e2f9e82520d399088
domain: light
entity_id: light.sovrum_taklampa
type: brightness_decrease
button_up_long_loop: true
button_down_long_loop: true
action_button_down_release: []
button_up_long_max_loop_repeats: 10
button_down_long_max_loop_repeats: 10
Hrm. Iâm having an issue with long presses and this Blueprint/Controller as well. I use my E1743 with ZHA, and incorporated the fixes from @SandaleZ last year.
Now when I update from 2023.4.x to 2023.5.x, the long press doesnât âstopâ. If I hold to dim a light up/down, it keeps going after I let go.
Iâm gonna look at the ZHA entries in the Helper to see if I can figure out what events are being set. Iâm keeping a backup of my config and 2023.4.6 just in case.
Hey,
this is my first post so forgive me if its the wrong part of the forum.
Im trying to set up E1766 for my blinds and E1743 for my lights. I have filled in all the required fields but when I try to save it always return a âResponse error: 500â.
So when I check the logs it says:
Error handling request
13:08:42 â (ERROR) components/config/automation.py
Traceback (most recent call last):
File "/usr/local/lib/python3.10/site-packages/aiohttp/web_protocol.py", line 433, in _handle_request
resp = await request_handler(request)
File "/usr/local/lib/python3.10/site-packages/aiohttp/web_app.py", line 504, in _handle
resp = await handler(request)
File "/usr/local/lib/python3.10/site-packages/aiohttp/web_middlewares.py", line 117, in impl
return await handler(request)
File "/usr/src/homeassistant/homeassistant/components/http/security_filter.py", line 85, in security_filter_middleware
return await handler(request)
File "/usr/src/homeassistant/homeassistant/components/http/forwarded.py", line 100, in forwarded_middleware
return await handler(request)
File "/usr/src/homeassistant/homeassistant/components/http/request_context.py", line 28, in request_context_middleware
return await handler(request)
File "/usr/src/homeassistant/homeassistant/components/http/ban.py", line 80, in ban_middleware
return await handler(request)
File "/usr/src/homeassistant/homeassistant/components/http/auth.py", line 235, in auth_middleware
return await handler(request)
File "/usr/src/homeassistant/homeassistant/components/http/view.py", line 146, in handle
result = await result
File "/usr/src/homeassistant/homeassistant/components/config/__init__.py", line 145, in post
self._write_value(hass, current, config_key, data)
File "/usr/src/homeassistant/homeassistant/components/config/automation.py", line 70, in _write_value
cur_value[CONF_ID] = uuid.uuid4().hex
**TypeError: 'str' object does not support item assignment**
Any suggestions on what Im doing wrong here?
Hi, welcome to the forum!
The automation seems to be right, things you could try:
- use an entity instead of a device and/or another device for the action to see if the that works
- delete & recreate the automation
Just an idea or wait for someone else who makes more out of that error.
Figured out the fix for my long press issue.
Itâs in this Pull Request for the blueprint: remove spaces to match new helper format in 2023.5 by LordSushiPhoenix · Pull Request #545 · EPMatt/awesome-ha-blueprints · GitHub
The short story is that in HA 2023.4.6 and older, the helper text messages would be something like this:
{"a": "off", "t": 1684956194.70524}
After updating to 2023.5.x, they look like this:
{"a":"off","t":1684956194.70524}
The key difference is that there is no longer a space after each colon or comma. The blueprint has regex that is hard-coded to look for that, which causes it to âmissâ these events.
@tuffno: Though I donât use Z2M (ZigBee2MQTT), there are some folks in that pull request link and in this issue link that have implemented similar fixes. Though theyâre talking about a double-tap issue, itâs caused by the same bug in the end.
Hi,
Blueprint works great for the 5 button remote but double press stopped working with HA core 5.0 update. Last version itâs working is with 4.6 which I now reverted to. Any ideas how to keep this working with newer versions of HA?
Running HA supervisor on docker.
Thanks
EDIT: Nevermind I dug into the github discussions and already found that there are several pull requests for other tradfri models which changed 2 regex entries. These changes should be applied to the blueprint to make double taps work on HA 5.x. I made a pull requests for my model yaml can be downloaded here: changed regex to make double tap work again on HA 5.x by comk22 · Pull Request #550 · EPMatt/awesome-ha-blueprints · GitHub
Ah⊠that explains whats happened to my switches.
Looking at the blueprint code I think youâre talking about lines 299-305:
trigger_delta: '{{ (as_timestamp(now()) - ((states(helper_last_controller_event)
| from_json).t if helper_last_controller_event is not none and (states(helper_last_controller_event)
| regex_match("^\{((\"a\": \".*\"|\"t\": \d+\.\d+)(, )?){2}\}$")) else as_timestamp("1970-01-01
00:00:00"))) * 1000 }}'
last_controller_event: '{{ (states(helper_last_controller_event) | from_json).a
if helper_last_controller_event is not none and (states(helper_last_controller_event)
| regex_match("^\{((\"a\": \".*\"|\"t\": \d+\.\d+)(, )?){2}\}$")) else "" }}'
Pretty sure thats a trivial fix. Iâll have a go at it later when I am home.
Ok, I changed my blueprint file for the E1743 and double presses are working again, by simply changing the block of code between lines 309-315 to this:
trigger_delta: '{{ (as_timestamp(now()) - ((states(helper_last_controller_event)
| from_json).t if helper_last_controller_event is not none and (states(helper_last_controller_event)
| regex_match("^\{((\"a\":\".*\"|\"t\":\d+\.\d+)(,)?){2}\}$")) else as_timestamp("1970-01-01
00:00:00"))) * 1000 }}'
last_controller_event: '{{ (states(helper_last_controller_event) | from_json).a
if helper_last_controller_event is not none and (states(helper_last_controller_event)
| regex_match("^\{((\"a\":\".*\"|\"t\":\d+\.\d+)(,)?){2}\}$")) else "" }}'
One last thing was still broken. For some reason, long press down no longer works.
When listening to the ZHA events for this, this is what I get:
event_type: zha_event
data:
device_ieee: 70:ac:08:ff:fe:b0:ef:e3
unique_id: 70:ac:08:ff:fe:b0:ef:e3:1:0x0008
device_id: d0c386d7bd249ec226ae57987d9b701a
endpoint_id: 1
cluster_id: 8
command: move
args:
- 1
- 83
- 0
- 0
params:
move_mode: 1
rate: 83
options_mask: 0
options_override: 0
origin: LOCAL
time_fired: "2023-06-22T20:06:58.294432+00:00"
context:
id: 01H3JBF6ZP4610GGRQ3WWE6BFH
parent_id: null
user_id: null
Which according to the existing blueprint, should be interpreted as this:-
button_down_long:
- move_MoveMode.Down_83_bitmap8.0_bitmap8.0
(See lines 236-237).
Iâve had to change this to:
button_down_long:
- move_MoveMode.Down_83_0_0
And long button down presses are now working again.
Can you update blueprint please? My double button wont work
Hi,
Iâm using ZHA and is not working any button
id: â1690478735259â
alias: Controller - IKEA E1743 TRĂ DFRI On/Off Switch & Dimmer
description: ââ
use_blueprint:
path: EPMatt/ikea_e1743.yaml
input:
integration: ZHA
controller_device: 0636ea5d6cce1e93af9a14e56cab5b5e
action_button_up_short:
- type: turn_on
device_id: 0f73127aaba38182b2069c668b81f374
entity_id: 3cbfdbeedbd90a2a7f70eff657915668
domain: light
action_button_up_long:
- type: turn_on
device_id: 0f73127aaba38182b2069c668b81f374
entity_id: 3cbfdbeedbd90a2a7f70eff657915668
domain: light
action_button_up_release:
- type: turn_on
device_id: e0e897dbe4fa39dcc56335b14c144f09
entity_id: 211d965dd7a08ed77265ff7bb8da5a95
domain: light
action_button_up_double:
- type: turn_on
device_id: 0f73127aaba38182b2069c668b81f374
entity_id: 3cbfdbeedbd90a2a7f70eff657915668
domain: light
please some support hereâŠ
Nick
{
âtraceâ: {
âlast_stepâ: âaction/1â,
ârun_idâ: âa04993142eb9da4c8ba9b9268ef4a24fâ,
âstateâ: âstoppedâ,
âscript_executionâ: âerrorâ,
âtimestampâ: {
âstartâ: â2023-08-02T15:46:39.864527+00:00â,
âfinishâ: â2023-08-02T15:46:39.915265+00:00â
},
âdomainâ: âautomationâ,
âitem_idâ: â1690991159540â,
âerrorâ: âUndefinedError: âdict objectâ has no attribute âeventââ,
âtriggerâ: null,
âtraceâ: {
âtriggerâ: [
{
âpathâ: âtriggerâ,
âtimestampâ: â2023-08-02T15:46:39.868233+00:00â,
âchanged_variablesâ: {
âthisâ: {
âentity_idâ: âautomation.new_automation_7â,
âstateâ: âonâ,
âattributesâ: {
âidâ: â1690991159540â,
âlast_triggeredâ: â2023-08-02T15:46:28.112870+00:00â,
âmodeâ: ârestartâ,
âcurrentâ: 0,
âfriendly_nameâ: âNew Automationâ
},
âlast_changedâ: â2023-08-02T15:46:00.839473+00:00â,
âlast_updatedâ: â2023-08-02T15:46:28.117414+00:00â,
âcontextâ: {
âidâ: â01H6VEVP4ENZ67D35YAKQQX1WHâ,
âparent_idâ: â01H6VEVP4CZ8WH3AECGXF46HHMâ,
âuser_idâ: null
}
},
âtriggerâ: {
âplatformâ: null
},
âintegrationâ: âZHAâ,
âbutton_up_long_loopâ: false,
âbutton_up_long_max_loop_repeatsâ: 500,
âbutton_up_double_pressâ: false,
âbutton_down_long_loopâ: false,
âbutton_down_long_max_loop_repeatsâ: 500,
âbutton_down_double_pressâ: false,
âhelper_last_controller_eventâ: ââ,
âhelper_double_press_delayâ: 500,
âhelper_debounce_delayâ: 0,
âintegration_idâ: âzhaâ,
âadjusted_double_press_delayâ: 500,
âactions_mappingâ: {
âdeconzâ: {
âbutton_up_shortâ: [
â1002â
],
âbutton_up_longâ: [
â1001â
],
âbutton_up_releaseâ: [
â1003â
],
âbutton_down_shortâ: [
â2002â
],
âbutton_down_longâ: [
â2001â
],
âbutton_down_releaseâ: [
â2003â
]
},
âzhaâ: {
âbutton_up_shortâ: [
âonâ
],
âbutton_up_longâ: [
âmove_with_on_off_0_83â
],
âbutton_up_releaseâ: [
âstopâ
],
âbutton_down_shortâ: [
âoffâ
],
âbutton_down_longâ: [
âmove_1_83â
],
âbutton_down_releaseâ: [
âstopâ
]
},
âzigbee2mqttâ: {
âbutton_up_shortâ: [
âonâ
],
âbutton_up_longâ: [
âbrightness_move_upâ
],
âbutton_up_releaseâ: [
âbrightness_stopâ
],
âbutton_down_shortâ: [
âoffâ
],
âbutton_down_longâ: [
âbrightness_move_downâ
],
âbutton_down_releaseâ: [
âbrightness_stopâ
]
}
},
âbutton_up_shortâ: [
âonâ
],
âbutton_up_longâ: [
âmove_with_on_off_0_83â
],
âbutton_up_releaseâ: [
âstopâ
],
âbutton_down_shortâ: [
âoffâ
],
âbutton_down_longâ: [
âmove_1_83â
],
âbutton_down_releaseâ: [
âstopâ
],
âintegrations_with_prev_event_storageâ: [
âzhaâ,
âzigbee2mqttâ
],
âcontroller_entityâ: ââ,
âcontroller_deviceâ: â0636ea5d6cce1e93af9a14e56cab5b5eâ,
âcontroller_idâ: â0636ea5d6cce1e93af9a14e56cab5b5eâ
}
}
],
âaction/0â: [
{
âpathâ: âaction/0â,
âtimestampâ: â2023-08-02T15:46:39.888386+00:00â,
âchanged_variablesâ: {
âcontextâ: {
âidâ: â01H6VEW1KRYPEBEXCGH1WT1K4Aâ,
âparent_idâ: â01H6VEW1KPG9E7DYVDHNW11TJSâ,
âuser_idâ: null
}
},
âresultâ: {
âdelayâ: 0,
âdoneâ: true
}
}
],
âaction/1â: [
{
âpathâ: âaction/1â,
âtimestampâ: â2023-08-02T15:46:39.890085+00:00â,
âerrorâ: âUndefinedError: âdict objectâ has no attribute âeventââ
}
]
},
âconfigâ: {
âvariablesâ: {
âintegrationâ: âZHAâ,
âbutton_up_long_loopâ: false,
âbutton_up_long_max_loop_repeatsâ: 500,
âbutton_up_double_pressâ: false,
âbutton_down_long_loopâ: false,
âbutton_down_long_max_loop_repeatsâ: 500,
âbutton_down_double_pressâ: false,
âhelper_last_controller_eventâ: ââ,
âhelper_double_press_delayâ: 500,
âhelper_debounce_delayâ: 0,
âintegration_idâ: â{{ integration | lower }}â,
âadjusted_double_press_delayâ: â{{ [helper_double_press_delay - helper_debounce_delay, 100] | max }}â,
âactions_mappingâ: {
âdeconzâ: {
âbutton_up_shortâ: [
â1002â
],
âbutton_up_longâ: [
â1001â
],
âbutton_up_releaseâ: [
â1003â
],
âbutton_down_shortâ: [
â2002â
],
âbutton_down_longâ: [
â2001â
],
âbutton_down_releaseâ: [
â2003â
]
},
âzhaâ: {
âbutton_up_shortâ: [
âonâ
],
âbutton_up_longâ: [
âmove_with_on_off_0_83â
],
âbutton_up_releaseâ: [
âstopâ
],
âbutton_down_shortâ: [
âoffâ
],
âbutton_down_longâ: [
âmove_1_83â
],
âbutton_down_releaseâ: [
âstopâ
]
},
âzigbee2mqttâ: {
âbutton_up_shortâ: [
âonâ
],
âbutton_up_longâ: [
âbrightness_move_upâ
],
âbutton_up_releaseâ: [
âbrightness_stopâ
],
âbutton_down_shortâ: [
âoffâ
],
âbutton_down_longâ: [
âbrightness_move_downâ
],
âbutton_down_releaseâ: [
âbrightness_stopâ
]
}
},
âbutton_up_shortâ: â{{ actions_mapping[integration_id][âbutton_up_shortâ] }}â,
âbutton_up_longâ: â{{ actions_mapping[integration_id][âbutton_up_longâ] }}â,
âbutton_up_releaseâ: â{{ actions_mapping[integration_id][âbutton_up_releaseâ] }}â,
âbutton_down_shortâ: â{{ actions_mapping[integration_id][âbutton_down_shortâ] }}â,
âbutton_down_longâ: â{{ actions_mapping[integration_id][âbutton_down_longâ] }}â,
âbutton_down_releaseâ: â{{ actions_mapping[integration_id][âbutton_down_releaseâ] }}â,
âintegrations_with_prev_event_storageâ: [
âzhaâ,
âzigbee2mqttâ
],
âcontroller_entityâ: ââ,
âcontroller_deviceâ: â0636ea5d6cce1e93af9a14e56cab5b5eâ,
âcontroller_idâ: â{% if integration_id==âzigbee2mqttâ %}{{controller_entity}}{% else %}{{controller_device}}{% endif %}â
},
âmodeâ: ârestartâ,
âmax_exceededâ: âsilentâ,
âtriggerâ: [
{
âplatformâ: âeventâ,
âevent_typeâ: âstate_changedâ,
âevent_dataâ: {
âentity_idâ: ââ
}
},
{
âplatformâ: âeventâ,
âevent_typeâ: [
âdeconz_eventâ,
âzha_eventâ
],
âevent_dataâ: {
âdevice_idâ: â0636ea5d6cce1e93af9a14e56cab5b5eâ
}
}
],
âconditionâ: [
{
âconditionâ: âandâ,
âconditionsâ: [
â{%- set trigger_action -%} {%- if integration_id == âzigbee2mqttâ -%} {{ trigger.event.data.new_state.state }} {%- elif integration_id == âdeconzâ -%} {{ trigger.event.data.event }} {%- elif integration_id == âzhaâ -%} {{ trigger.event.data.command }}{{â" if trigger.event.data.args|length > 0}}{{ trigger.event.data.args|join("") }} {%- endif -%} {%- endset -%} {{ trigger_action not in ["",âNoneâ] }}",
â{{ integration_id != âzigbee2mqttâ or trigger.event.data.new_state.state != trigger.event.data.old_state.state }}â
]
}
],
âactionâ: [
{
âdelayâ: {
âmillisecondsâ: 0
}
},
{
âvariablesâ: {
âtrigger_actionâ: â{%- if integration_id == âzigbee2mqttâ -%} {{ trigger.event.data.new_state.state }} {%- elif integration_id == âdeconzâ -%} {{ trigger.event.data.event }} {%- elif integration_id == âzhaâ -%} {{ trigger.event.data.command }}{{â" if trigger.event.data.args|length > 0}}{{ trigger.event.data.args|join("") }} {%- endif -%}",
âtrigger_deltaâ: â{{ (as_timestamp(now()) - ((states(helper_last_controller_event) | from_json).t if helper_last_controller_event is not none and (states(helper_last_controller_event) | regex_match(â^\{((\âa\â: \".\"|\ât\â: \d+\.\d+)(, )?){2}\}$")) else as_timestamp(â1970-01-01 00:00:00â))) * 1000 }}",
âlast_controller_eventâ: â{{ (states(helper_last_controller_event) | from_json).a if helper_last_controller_event is not none and (states(helper_last_controller_event) | regex_match(â^\{((\âa\â: \".\"|\ât\â: \d+\.\d+)(, )?){2}\}$")) else ââ }}"
}
},
{
âserviceâ: âinput_text.set_valueâ,
âdataâ: {
âentity_idâ: ââ,
âvalueâ: â{{ {âaâ:trigger_action,âtâ:as_timestamp(now())} | to_json }}â
}
},
{
âchooseâ: [
{
âconditionsâ: â{{ trigger_action | string in button_up_short }}â,
âsequenceâ: [
{
âchooseâ: [
{
âconditionsâ: â{{ button_up_double_press }}â,
âsequenceâ: [
{
âchooseâ: [
{
âconditionsâ: â{{ trigger_action | string in states(helper_last_controller_event) and trigger_delta | int <= helper_double_press_delay | int }}â,
âsequenceâ: [
{
âserviceâ: âinput_text.set_valueâ,
âdataâ: {
âentity_idâ: ââ,
âvalueâ: â{{ {âaâ:âdouble_pressâ,âtâ:as_timestamp(now())} | to_json }}â
}
},
{
âeventâ: âahb_controller_eventâ,
âevent_dataâ: {
âcontrollerâ: â{{ controller_id }}â,
âactionâ: âbutton_up_doubleâ
}
},
{
âchooseâ: [
{
âconditionsâ: [],
âsequenceâ: []
}
]
}
]
}
],
âdefaultâ: [
{
âdelayâ: {
âmillisecondsâ: â{{ adjusted_double_press_delay }}â
}
},
{
âeventâ: âahb_controller_eventâ,
âevent_dataâ: {
âcontrollerâ: â{{ controller_id }}â,
âactionâ: âbutton_up_shortâ
}
},
{
âchooseâ: [
{
âconditionsâ: [],
âsequenceâ: [
{
âtypeâ: âtoggleâ,
âdevice_idâ: â0f73127aaba38182b2069c668b81f374â,
âentity_idâ: â3cbfdbeedbd90a2a7f70eff657915668â,
âdomainâ: âlightâ
}
]
}
]
}
]
}
]
}
],
âdefaultâ: [
{
âeventâ: âahb_controller_eventâ,
âevent_dataâ: {
âcontrollerâ: â{{ controller_id }}â,
âactionâ: âbutton_up_shortâ
}
},
{
âchooseâ: [
{
âconditionsâ: [],
âsequenceâ: [
{
âtypeâ: âtoggleâ,
âdevice_idâ: â0f73127aaba38182b2069c668b81f374â,
âentity_idâ: â3cbfdbeedbd90a2a7f70eff657915668â,
âdomainâ: âlightâ
}
]
}
]
}
]
}
]
},
{
âconditionsâ: â{{ trigger_action | string in button_up_long }}â,
âsequenceâ: [
{
âeventâ: âahb_controller_eventâ,
âevent_dataâ: {
âcontrollerâ: â{{ controller_id }}â,
âactionâ: âbutton_up_longâ
}
},
{
âchooseâ: [
{
âconditionsâ: â{{ button_up_long_loop }}â,
âsequenceâ: [
{
ârepeatâ: {
âwhileâ: â{{ repeat.index < button_up_long_max_loop_repeats | int }}â,
âsequenceâ: []
}
}
]
}
],
âdefaultâ: []
}
]
},
{
âconditionsâ: [
â{{ trigger_action | string in button_up_release }}â,
â{{ not integration_id in integrations_with_prev_event_storage or last_controller_event | string in button_up_long }}â
],
âsequenceâ: [
{
âeventâ: âahb_controller_eventâ,
âevent_dataâ: {
âcontrollerâ: â{{ controller_id }}â,
âactionâ: âbutton_up_releaseâ
}
},
{
âchooseâ: [
{
âconditionsâ: [],
âsequenceâ: []
}
]
}
]
},
{
âconditionsâ: â{{ trigger_action | string in button_down_short }}â,
âsequenceâ: [
{
âchooseâ: [
{
âconditionsâ: â{{ button_down_double_press }}â,
âsequenceâ: [
{
âchooseâ: [
{
âconditionsâ: â{{ trigger_action | string in states(helper_last_controller_event) and trigger_delta | int <= helper_double_press_delay | int }}â,
âsequenceâ: [
{
âserviceâ: âinput_text.set_valueâ,
âdataâ: {
âentity_idâ: ââ,
âvalueâ: â{{ {âaâ:âdouble_pressâ,âtâ:as_timestamp(now())} | to_json }}â
}
},
{
âeventâ: âahb_controller_eventâ,
âevent_dataâ: {
âcontrollerâ: â{{ controller_id }}â,
âactionâ: âbutton_down_doubleâ
}
},
{
âchooseâ: [
{
âconditionsâ: [],
âsequenceâ: []
}
]
}
]
}
],
âdefaultâ: [
{
âdelayâ: {
âmillisecondsâ: â{{ adjusted_double_press_delay }}â
}
},
{
âeventâ: âahb_controller_eventâ,
âevent_dataâ: {
âcontrollerâ: â{{ controller_id }}â,
âactionâ: âbutton_down_shortâ
}
},
{
âchooseâ: [
{
âconditionsâ: [],
âsequenceâ: []
}
]
}
]
}
]
}
],
âdefaultâ: [
{
âeventâ: âahb_controller_eventâ,
âevent_dataâ: {
âcontrollerâ: â{{ controller_id }}â,
âactionâ: âbutton_down_shortâ
}
},
{
âchooseâ: [
{
âconditionsâ: [],
âsequenceâ: []
}
]
}
]
}
]
},
{
âconditionsâ: â{{ trigger_action | string in button_down_long }}â,
âsequenceâ: [
{
âeventâ: âahb_controller_eventâ,
âevent_dataâ: {
âcontrollerâ: â{{ controller_id }}â,
âactionâ: âbutton_down_longâ
}
},
{
âchooseâ: [
{
âconditionsâ: â{{ button_down_long_loop }}â,
âsequenceâ: [
{
ârepeatâ: {
âwhileâ: â{{ repeat.index < button_down_long_max_loop_repeats | int }}â,
âsequenceâ: []
}
}
]
}
],
âdefaultâ: []
}
]
},
{
âconditionsâ: [
â{{ trigger_action | string in button_down_release }}â,
â{{ not integration_id in integrations_with_prev_event_storage or last_controller_event | string in button_down_long }}â
],
âsequenceâ: [
{
âeventâ: âahb_controller_eventâ,
âevent_dataâ: {
âcontrollerâ: â{{ controller_id }}â,
âactionâ: âbutton_down_releaseâ
}
},
{
âchooseâ: [
{
âconditionsâ: [],
âsequenceâ: []
}
]
}
]
}
]
}
],
âidâ: â1690991159540â,
âaliasâ: âNew Automationâ,
âdescriptionâ: ââ
},
âblueprint_inputsâ: {
âidâ: â1690991159540â,
âaliasâ: âNew Automationâ,
âdescriptionâ: ââ,
âuse_blueprintâ: {
âpathâ: âEPMatt/ikea_e1743.yamlâ,
âinputâ: {
âintegrationâ: âZHAâ,
âcontroller_deviceâ: â0636ea5d6cce1e93af9a14e56cab5b5eâ,
âaction_button_up_shortâ: [
{
âtypeâ: âtoggleâ,
âdevice_idâ: â0f73127aaba38182b2069c668b81f374â,
âentity_idâ: â3cbfdbeedbd90a2a7f70eff657915668â,
âdomainâ: âlightâ
}
]
}
}
},
âcontextâ: {
âidâ: â01H6VEW1KRYPEBEXCGH1WT1K4Aâ,
âparent_idâ: â01H6VEW1KPG9E7DYVDHNW11TJSâ,
âuser_idâ: null
}
},
âlogbookEntriesâ: [
{
ânameâ: âNew Automationâ,
âmessageâ: âtriggeredâ,
âsourceâ: null,
âentity_idâ: âautomation.new_automation_7â,
âcontext_idâ: â01H6VEW1KRYPEBEXCGH1WT1K4Aâ,
âwhenâ: 1690991199.868478,
âdomainâ: âautomationâ
}
]
}
Do you realize that you have just posted some gibberish without any way for us to know what the purpose is?