However it does support a direct reference to an Input entity’s value.
What exactly do you want your condition to confirm (because it’s unclear what you want to do based on the last example you posted). Your last example checks if an Input Select’s value is equal to its own current value, which isn’t much of a test.
Thanks for pointing out that it is simply not supported.
For the mechanics of the test - it is just the generalization of the first, literal one. It checks if the current value is the first of the available options - which is a very useful abstraction imho. E.g. if you reuse this template, you only have to switch the input_select helper name, not the constant representing the first option (which is “…_aus” for me by convention.)
Not supporting templates for “state” is like not supporting expressions on the right hand in a programming language. Compare
if (foo.state == "myState") {
...
}
and
if (foo.state == computeStateInSomeWay(context)) {
...
}
Pointing me to the “State Condition” reference made me work through the other ones and i was able to find the exact solution you gave above. I was just about to return and post it