#Input_select not working after a recent update
1 messages · Page 1 of 1 (latest)
Hello, have you tried restarting home assistant to reload the helpers ?
I actually restored old backups until I had a working version again (requiring restarts) which is how I determined that it was a the HA upgrade that caused the system to break rather than an upgrade in another add on. Staying with the older (working) HA would unfortunately kill a bunch of changes made since then and wouldn't help in the long run anyway.
Where is that element? Aka, what is the yaml on the dashboard for it? As I have input_select's on my dashboard (as entity row) no problem. Did you also clear your browser cache?
Yes, I cleared my browser cache. The code for the dashboard is straight forward:
- type: custom:select-list-card
entity: input_select.home_cooling_modes
title: Home cooling fan mode
icon: mdi:fan
truncate: true
show_toggle: true
scroll_to_selected: true
max_options: 5
The choices display (although in a slightly different/smaller font) on the dashboard but they are not select-able
have you tried using that input_select with a built in card, not using the custom one ?
No, I have not ... I will look and see what I can find about the card you mention. Thanks.
Ok, I don't know what you mean. When I look at the Lovelace docs for it's 'select list card', I see that I need to use 'custom:select-list-card' for the type (https://community.home-assistant.io/t/lovelace-select-list-card/210085)
Select list Card Display the options of an input_select entity as a clickable list card. In other words: the content of the dropdown menu is displayed as a card. The input_select.select_option service is called after the user clicks (selects) an option. Some use cases: Select with too many options to show in dropdown Options with long title...
the standard entities card allow to use the input select
- type: entities
entities:
- entity: input_select.home_cooling_modes
should look like this by default with your own entries
Doing it that way seems to work! Thanks
I guess this implies that the problem is in the custom :select-list-card code. Any thoughts on where I might post a bug report?
Things are working now but the custom:select-list-card offered a bunch of styling options that the standard card doesn't have.
Most custom cards have their own github repo, I woul djust search for the name of the card and see if you can find it that way.
That card hasn't been updated in five years and it's likely abandoned. I'd suggest looking through the forks on the Github and see if anyone has put out anything newer. https://github.com/mattieha/select-list-card
I did not realize that the card had more than likely been abandoned. Since the chances of this getting fixed is near zero, I will have to either make do with the plain select card without the fancy formatting or find another way to go. In any which case, I know now to not hold my breath for a fix. Thank you !
Found where other people had reported my issue https://github.com/mattieha/select-list-card/issues/34
I looked through the forks and none have any newer commits. The Dev also has no recent contributions.
You might consider the Mushroom Select Card. https://github.com/piitaya/lovelace-mushroom/blob/main/docs/cards/select.md
You could also look into using card-mod. It does have a steep learning curve but there are lots of examples in the forum. I suggest looking at Ildar_Gabdullin's massive post. (Follow the links near the top for input_select row.) https://community.home-assistant.io/t/card-mod-add-css-styles-to-any-lovelace-card/120744/1396