Newly created To-do list names get changed to sentence case after saving
The problem
Originally reported in frontend repo (https://github.com/home-assistant/frontend/issues/20440) and was directed here.
I noticed that when adding a new To-do list the casing always gets changed to sentence case rather than how it was originally entered (title case in below example).
The confirmation dialog in the frontend shows the correct text exactly as it was entered:
But when saved in backend, it always gets altered to sentence case for some reason, which is unwanted behavior and often feels "wrong" at times:
Besides brand names like iPhone, macOS, BMW, etc there's all sorts of other things like "Home Assistant OS Bugs", "WWDC Meetup" etc that look weird with the capitalization changed.
The To-do list sidebar will show the proper casing after renaming the entity from the more info dialog, but that's extra unnecessary steps when it just shouldn't change the users text to begin with IMO.
What version of Home Assistant Core has the issue?
2024.4.2
What was the last working version of Home Assistant Core?
No response
What type of installation are you running?
Home Assistant OS
Integration causing the issue
To-do list
Link to integration documentation on our website
https://www.home-assistant.io/integrations/todo/
Diagnostics information
No response
Example YAML snippet
No response
Anything in the logs that might be useful for us?
No response
Additional information
No response
Hey there @home-assistant/core, mind taking a look at this issue as it has been labeled with an integration (todo) you are listed as a code owner for? Thanks!
Code owner commands
Code owners of todo can trigger bot actions by commenting:
@home-assistant closeCloses the issue.@home-assistant rename Awesome new titleRenames the issue.@home-assistant reopenReopen the issue.@home-assistant unassign todoRemoves the current integration label and assignees on the issue, add the integration domain after the command.@home-assistant add-label needs-more-informationAdd a label (needs-more-information, problem in dependency, problem in custom component) to the issue.@home-assistant remove-label needs-more-informationRemove a label (needs-more-information, problem in dependency, problem in custom component) on the issue.
(message by CodeOwnersMention)
todo documentation todo 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.
Still an issue in 2024.7.2
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.
Still issue 2024.10.1
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.
Still valid 2025.1.2
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.