Hide automations from UI?

I have about 30 automations that are defined in external yaml and therefore are not editable in the automation editor, but they still show up there and clutter up the automation list. How can I hide these automations? I found that there used to be attribute hide_entity for this but this has been deprecated for no reason. So how can I hide automations from the UI now?