Part of the problem here is the whole YAML thing is an abstraction on top of whatever programming language home assistant is actually written in
And all of computer programming is like this. When I was a very tiny boy you just had to know "A chip is a thing that sends a little bit of electricity out of some combination of its legs in reaction to electricity going into some other combination" and then make a cup of tea and read a thick book and bollock around a while and end up with Manic Miner, but that was too hard for most folk so we invented programming languages that took a best guess at what electricity to send where, and then it turned out those languages were also too hard for almost everyone so we gave those languages little hats, interpreters that went "If this crying man types GOTO 240 then we tell the body wearing us to tell the electricity to go the way," and we made more and different hats and some were good and some were bad and then we started stacking the hats on top of each other and forty years go by and suddenly we find ourselves fiddling with the top of a stack of fifteen hats that are making suggestions to the hats beneath while arguing and trying to topple off each other and shouting DON'T LOOK AT THE HAT UNDERNEATH ME while the aforementioned crying man shouts back GET OUT OF THE WAY AND LET ME SEE WHAT YOU'RE HIDING
It's not even that hats are bad, everybody likes a good hat, but wearing so many stacked on top of each other is asking for a mess every time you walk through a door