Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error if task finish with space #6

Closed
ciltocruz opened this issue Jan 21, 2025 · 2 comments
Closed

Error if task finish with space #6

ciltocruz opened this issue Jan 21, 2025 · 2 comments

Comments

@ciltocruz
Copy link

Hello.
I really appreciate this blueprint and it's helping to sort through my to-do list. I noticed that if one of my tasks ends with a space then the blueprint doesn't work and the list is half-built, thus losing part of the list.

Can it be fixed?

@mathmaniac43
Copy link
Owner

Thanks for reaching out! I believe that the answer to your question is "no", since the Action to get the list of todo items automatically trims spaces off the end of the titles. The sorting script has no idea if a space (or multiple spaces) would have been removed from the task title.

However, good news! I recently was informed that the next release of Home Assistant will include a todo list card feature that allows you to display lists sorted!
home-assistant/frontend#23579

I think that change will essentially make this script unnecessary (at least for most folks)

@ciltocruz
Copy link
Author

Yessssssss

I read it a few minutes ago. This is good news. We'll see how it works. I won't remove the blueprint, for now.
Thank you for your work.
Best regards.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants