I have a button I need to do two things when I press it. Now, I've confirmed that this method works with a simple switch, but I can't figure out how to set the option of an input_selection. Here's the code I'm using:
type: custom:button-card
name: Test
entity: input_select.lcars_calendar_select
tap_action:
action: navigate
navigation_path: /dashboard-diningroom/dr_msd
multi_calls: |
[[[
hass.callService('input_select', 'select_option', {
'entity_id': 'input_select.lcars_calendar_select',
'option': 'Overall'
});
]]]
I would like the button to set an option ("Overall", in this case) on the listed input helper, "input_select.lcars_calendar_select". I've copied this code from a few places around the internet that were using this, but while the button doesn't throw an error message, it doesn't change the option of the input helper. Hoping someone has some thoughts...ChatGPT's help wasn't, ah, helpful.