The automated automations tool created the following working config. Basically, it turns on a light however the name 8eff7b21041f948f0a43a3d610405ed6 is not very user friendly, is there an easy way to use an easily readable name like switch.ikea_switch_1
- alias: switch1_short_press_on
mode: single
trigger:
- device_id: 8eff7b21041f948f0a43a3d610405ed6 #a readable name here
domain: zha
platform: device
type: remote_button_short_press
subtype: turn_on
action:
- data:
brightness_step_pct: 12.5
entity_id: light.bedside_light
service: light.turn_on
zha has not incorporated event entities yet. So your only âeasyâ option is to use device triggers. Otherwise, youâd have to use normal HA events.
and if youâre confused about my response. You cannot alias device_idâs. And normal events allow you to use friendly names (to an extent). It depends on the event youâre triggering off of.
You cannot use in-line comments with yaml. So no, thatâs not possible. Comments can go before or after (100% YAML only, no UI including UI yaml). Or you can alias the device trigger.
Ok but Iâm looking for event entities to create automation with âmultiple triggersâ
Trigger :
Remote1 trigger âsomethingâ (could be really any button)
Action :
If âsomethingâ is button 1 pressed then do
Elseif âsomethingâ is button 2 pressed then do
Elseif âsomethingâ is button 3 pressed then
I know that Blueprints can handle it, but itâs only in theory as most of the blueprints Iâm using are not working at 100% (like double press not doing anything, are the action not working and needs to be done once again, etc.).