nappyjim
(Jim)
January 24, 2021, 4:15pm
1
After you make your helper list, your stuck with the order unless you re-do the entire thing. Be nice to be able to drag and drop to change order.
In picture below, I’d like to move Strobe to position in-between Aurora and Static
tom_l
January 24, 2021, 5:05pm
2
Not taking away from your request (it is a good one) but for now you should be able to cut and paste the options to the order you want if you edit it in YAML.
Also don’t forget to vote for your own request.
1 Like
nappyjim
(Jim)
January 24, 2021, 5:57pm
3
@tom_l
How/where do i go to edit in yaml? I cant find it
tom_l
January 24, 2021, 6:12pm
4
No idea where the UI puts them. I don’t use the UI for input_selects. I have this in my configuration.yaml file:
input_select: !include input_selects.yaml
and all my input_selects are in the file input_selects.yaml.
nappyjim
(Jim)
January 24, 2021, 6:14pm
5
Hmmm seems like its not possible (or at least easy) to edit UI made helpers.
tom_l
January 24, 2021, 6:16pm
6
Ah, well that’s spanners to that plan then.
Hellis81
(Hellis81)
January 24, 2021, 6:20pm
7
Doesn’t mean that it’s not possible.
It’s just that it’s in json format instead of yaml.
And… If you mess up, nothing will help you realize it before it’s too late.
tom_l
January 24, 2021, 6:22pm
8
You should be able to use both YAML and the UI, but helpers created in YAML will not be editable in the UI.
nappyjim
(Jim)
January 24, 2021, 6:36pm
9
So whats the format if I do one in yaml? Can you show me an example
It’s been a while, but I came across this topic and in case it helps anyone, I noticed that you can easily edit UI-created Input Select entities via the Developer Tools → States page.
If you select the input_select it’ll show you the options list and you can edit/rearrange them and save, without having to directly edit the /config/.storage/input_select file.
You can also add parameters that are not supported in the UI editor yet e.g. “initial”
5 Likes
Sadly, this looked like it worked but upon rebooting my instance reset the changes back. =(
techtim
September 16, 2022, 7:38pm
13
Circling back to this. Still not possible to edit already made dropdown order? Creating a new one in yaml is the only real option.
Added my vote on this. This is important. Thanks
ahuffman
(Andrew J. Huffman)
August 23, 2023, 7:55pm
15
to being able to edit helpers in the UI.
karwosts
(karwosts)
August 30, 2023, 4:39pm
16
This has been implemented for 2023.9
home-assistant:dev
← karwosts:sortable-input-select
opened 02:13PM - 25 Aug 23 UTC
<!--
You are amazing! Thanks for contributing to our project!
Please, DO N… OT DELETE ANY TEXT from this template! (unless instructed).
-->
## Proposed change
Add handles to sort the items in the input select config page. Originally proposed by @ChrisBit in #10107, but it was abandoned/never reviewed. Trying to revive it.
![sortable-input_select](https://github.com/home-assistant/frontend/assets/32912880/a0f3cab3-06ef-4d96-94ae-c4624fc64293)
## Type of change
<!--
What type of change does your PR introduce to the Home Assistant frontend?
NOTE: Please, check only 1! box!
If your PR requires multiple boxes to be checked, you'll most likely need to
split it into multiple PRs. This makes things easier and faster to code review.
-->
- [ ] Dependency upgrade
- [ ] Bugfix (non-breaking change which fixes an issue)
- [x] New feature (thank you!)
- [ ] Breaking change (fix/feature causing existing functionality to break)
- [ ] Code quality improvements to existing code or addition of tests
## Example configuration
<!--
Supplying a configuration snippet, makes it easier for a maintainer to test
your PR.
-->
```yaml
```
## Additional information
<!--
Details are important, and help maintainers processing your PR.
Please be sure to fill out additional details, if applicable.
-->
- This PR fixes or closes issue: fixes #
- This PR is related to issue or discussion:
https://github.com/home-assistant/frontend/discussions/11238
https://github.com/home-assistant/frontend/issues/10107
https://github.com/home-assistant/frontend/pull/10361
https://community.home-assistant.io/t/ability-to-re-organize-dropdown-helpers/272398/14
- Link to documentation pull request:
## Checklist
<!--
Put an `x` in the boxes that apply. You can also fill these out after
creating the PR. If you're unsure about any of them, don't hesitate to ask.
We're here to help! This is simply a reminder of what we are going to look
for before merging your code.
-->
- [x] The code change is tested and works locally.
- [x] There is no commented out code in this PR.
- [ ] Tests have been added to verify that the new code works.
If user exposed functionality or configuration variables are added/changed:
- [ ] Documentation added/updated for [www.home-assistant.io][docs-repository]
<!--
Thank you for contributing <3
-->
[docs-repository]: https://github.com/home-assistant/home-assistant.io
2 Likes