Hi everybody,
Neeeded some help. I search many days ago and read many many topic about this but it’s doesn’t work and i don’t find where is ma fault
I try purely based on this
input_select:
who_cooks:
name: Who cooks today
options:
- Select
- Paulus
- Anne Therese
initial: Select
icon: mdi:panda
living_room_preset:
options:
- Visitors
- Visitors with kids
- Home Alone
automation:
- alias: change select
trigger:
platform: state
entity_id: input_select.who_cooks
action:
service: input_select.set_options
data:
entity_id: input_select.living_room_preset
options: >
{% if trigger.to_state.state == 'Paulus' %}
["Item A", "Item B", "Item C"]
{% elif trigger.to_state.state == 'radio' %}
["19", "20", "21"]
{% endif %}
But look the bug
Where is ma bug please ?