Is it possible to provide “friendly_names” for input_select options?
I would like to have my option “IDs” in EN language so I can re-use them in automations and don’t have to create a corresponding mapping template to receive the needed values.
But at the same time I have my GUI in DE (as I am not the only one using HA ), which would require my input_select options in german…
No, input_select options do not have friendly_names, only entities do.
Thanks - are you aware about any other method that could be used?
As said - at the moment I am setting a “variable” within my automation based on a template where I have made a “mapping” list…
That is the only way I’m aware of.
Could someone post everything needed to do this (mapping list for input_select)?
I do have an input_select:
- name: evcc_phases
unique_id: uniqueid__evcc_phases_select
icon: mdi:backburger
state_topic: "evcc/loadpoints/1/phasesConfigured"
command_topic: "evcc/loadpoints/1/phases/set"
availability_topic: "evcc/status"
options:
- "0"
- "1"
- "3"
Now in the UI/dashboard, I don’t want to see 0, 1, 3 obviously, so I have another input_select like so:
evcc_phase_configuration_ui_select:
name: Phasen
options:
- "Automatik"
- "1-phasig"
- "3-phasig"
icon: mdi:backburger
I guess I now have to set up an automation (or two?) that get triggered when either one of the input_selects changes, and then change the other one? I guess I will probably run into some kind of loop?
Hopefully someone has a working example of how to do this properly.