#"input_select" updated through automation is not reflected in the GUI.
1 messages · Page 1 of 1 (latest)
post the automation yaml
action: input_select.set_options
metadata: {}
data:
options: >
{% set current =
state_attr('input_select.google_sheet_quote_person_selector', 'options') %}
{% set new = states('input_text.google_sheets_quote_new_person_text') %} {%
if new not in current %}
{{ current + [new] }}
{% else %}
{{ current }}
{% endif %}
target:
entity_id: input_select.google_sheet_quote_person_selector
Lmk if any thoughts.
so from what i can tell. when you set with the action it doesnt actually set the options on the helper but instead temporyily sets the options of the existing entity.
if you restart home assistant it will reset back to normal settings.
there is input_select.reload which looks like it should reload them to stock but it doesnt.
perhaps reload only works with configuration file helpers and not ui ones?
for now you could make a set option button that just sets it to the default options?
its not great, but it does seem to be a bug