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
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.).