Zigbee newbie question - how to create automations using yaml

I added a Zigbee/Zwave switch and was able to add a Lutron remote. I can create an automation through the UI, however I’d like to see how I can automate using yaml. Where can I see all the various triggers that I see in automation UI? (such as “turn on button pressed”)

After digging further, found the answer, as the UI has a “edit as yaml”

device_id: 81e310de2e9e11eb8e024909c53bb8
domain: zha
platform: device
type: remote_button_short_press
subtype: turn_on

Still wondering where I can find the various “types” for this button.