I would like the input select to send a different value than the one that is selected.
Like, if the user selects option “A”, then the data put into the variable should be “1”, not “A”. So I’d like to map the selected values to the actual values that will be sent. s
for input_number, I’d like to do math on it before it is sent, such as doubling or halving the value that was selected.
Here I let the user select an interface, and then use the config-template-card to change what entity is being graphed. I have to put the actual name of the entity into the input_select, which is kind of a meaningless identifier. I would much rather let the user select from the friendly name instead.
Another one… here I want to do some math on the value the user selects with the slider, before it is ‘committed’. Because I have an automation that picks up when that changes and sends an mqtt msg.
That is possible with an automation. You could not do it without an automation because an input_number has no native means of converting its values; it’s simply a means of setting a float value.