WTH can't we describe what to achieve when in automations?

Post an example of the YAML that would be produced by your simpler proposal.

Because once a YAML version exists, it can be created via the UI.