At the moment if you want to have a different string displayed on the front end to the one used on the backend you need to do a workaround - either via Templates or a message Human Visible name.
e.g. on Residentie Radio you have a complex template detached from the Input Helper meaning every change needs amending in two places - e.g. add a new station and you need to amend the Helper and the Script.
Alternative you can tack properties onto the end of a string meaning you only have to edit in one place (the input helper) but end up with user unfriendly names - in this case the script splits on the Comma and uses the three attributes
- id: '1631279830329'
alias: Light Colour Changed
description: ''
trigger:
- platform: state
entity_id: input_select.light_colour
condition: []
action:
- service: light.turn_on
data:
brightness_pct: '{{ state_attr("light.rgb_strip_1", "brightness") | float /
255 * 100 }}'
rgb_color: '[ {{ states.input_select.light_colour.state.split(",")[1] | int
}} , {{ states.input_select.light_colour.state.split(",")[2] | int }} , {{
states.input_select.light_colour.state.split(",")[3] | int }} ]'
target:
entity_id: light.rgb_strip_1
- service: light.turn_on
data:
brightness_pct: '{{ state_attr("light.rgb_strip_2", "brightness") | float /
255 * 100 }}'
rgb_color: '[ {{ states.input_select.light_colour.state.split(",")[1] | int
}} , {{ states.input_select.light_colour.state.split(",")[2] | int }} , {{
states.input_select.light_colour.state.split(",")[3] | int }} ]'
target:
entity_id: light.rgb_strip_2
- service: light.turn_on
data:
brightness_pct: '{{ state_attr("light.door_rgb_light", "brightness") | float
/ 255 * 100 }}'
rgb_color: '[ {{ states.input_select.light_colour.state.split(",")[1] | int
}} , {{ states.input_select.light_colour.state.split(",")[2] | int }} , {{
states.input_select.light_colour.state.split(",")[3] | int }} ]'
target:
entity_id: light.door_rgb_light
- service: light.turn_on
data:
brightness_pct: '{{ state_attr("light.tv_light_bar", "brightness") | float /
255 * 100 }}'
rgb_color: '[ {{ states.input_select.light_colour.state.split(",")[1] | int
}} , {{ states.input_select.light_colour.state.split(",")[2] | int }} , {{
states.input_select.light_colour.state.split(",")[3] | int }} ]'
target:
entity_id: light.tv_light_bar
mode: single
Ideally you’d be able to add an attribute (or attributes) meaning your scripts/automations can just read the currently selected attributes meaning all editing is done in one place (i.e. the Helpers screen) and remains user friendly on display.