Closed v1-valux closed 5 months ago
Hey there @home-assistant/core, mind taking a look at this issue as it has been labeled with an integration (input_select
) you are listed as a code owner for? Thanks!
(message by CodeOwnersMention)
input_select documentation input_select source (message by IssueLinks)
There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates. Please make sure to update to the latest Home Assistant version and check if that solves the issue. Let us know if that works for you by adding a comment 👍 This issue has now been marked as stale and will be closed if no further activity occurs. Thank you for your contributions.
The problem
o/ Hey community!
I'm searching for an explanation and/or alternative solution for the following problem:
As stated here and here, the
input_select
helper-domain behaves differently onattributes
(options) andstates
when it comes to restarts..I could imagine, that only the
state
of an helper gets "permanently" saved.. E.g. if otherwise changing an UI-createdinput_text
via service, the text (state
) remains if rebooting (or reloading config).. Same as saving the text-state via UI of course..However if setting
options
-attributes of aninput_select
via service, only thestate
(current option) remains after a reload... And if settingoptions
via UI, it does indeed save theoptions
aswell over reloads.. This was a little confusing and I wondered if there is any way to "fix" my initial problem:Initially I wanted to save some items from my
Picnic
-Shopping List for later use.. but as I need to do that via service, I would need a way to permanently save multiple values somewhere.. Is there any best practice to store such data within entity(-attributes) permanently (at least until I manually reset it?)Many thanks for your support
What version of Home Assistant Core has the issue?
core-2024.1.6
What was the last working version of Home Assistant Core?
core-2024.1.6
What type of installation are you running?
Home Assistant OS
Integration causing the issue
input_select
Link to integration documentation on our website
https://www.home-assistant.io/integrations/input_select/
Diagnostics information
No response
Example YAML snippet
Anything in the logs that might be useful for us?
No response
Additional information
I am aware that using a
todo
-list for storing those items would be an option.. But as I need to access them from mylovelace
-dashboard, I would need to have them accessible viastates
orattributes
- e.g. to use them in custom-cards like Auto-Entity-Card..