Actually, the shorthand notation for a Template Condition has been around for a long time, much longer than the shorthand condition notation used in an action. It was only introduced in the current release (2022.2). It needs the leading condition: key because without it there’s no context for the YAML processor.
In contrast, the condition key is superfluous, for shorthand notation, when used in an automation’s condition because the context is understood.
BTW, there’s a syntax error in your example; delay is a key so it should be followed by a colon.
Yes, I am aware. My suggestion isn’t because I think the logic is flawed, but rather to make the syntax easier to memorize and make it more consistent from a user point of view.
Keep in mind I’m only suggesting an extension of supported notations, not a complete overhaul. That’s why I think supporting a superfluous yaml key would be benefitial if it helps usability.
In the quest for consistency, it makes shorthand notation less shorthand.
I feel it’s superfluous because the context is already established by the leading conditions key as shown in this choose example from one of my automations:
Your proposal permits adding it to every line (containing a shorthand Template Condition), even though the conditions key has already established it contains nothing but conditions.
In other words, this isn’t enough:
cats:
- persian
- siamese
- tabby
but should also allow for:
cats:
- cat: persian
- cat: siamese
- cat: tabby
and only because elsewhere this is permitted:
- dog: alsatian
- bird: jay
- cat: siamese
- color: red
Anyway, you’re certainly free to suggest it. It remains to be seen if a volunteer developer accepts the challenge to implement it and to convince the core development team to accept it.