I have been looking around this forum and cannot find an elegant way to create a “Select” which has input/value pairs.
From programming I am used to separating how you show things (the label) from the actual value of a select. That way if you change the label, you don’t have to change underlying code. This does not seem to be possible in HA which, for me, is a weird design choice.
Does anyone have a working example of how they solved that issue? Or are you just using the labels and (hopefully) never changing them?
Your example demonstrates the usefulness of the new Template Select and also the need for “Template Variables” so that mapper can be defined just once.
EDIT
Just allowing for constants, or even ‘limited templates’, would be a big help. I’d settle for constants.