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

[FR] TODO improvements 20240101 #1841

Merged

Conversation

jlpouffier
Copy link
Contributor

Added new sentences to add items on a todo list in a natural way.

Sentences include:

  • Ajoute du pain à la liste des courses
  • Met des oeufs dans la liste des courses
  • Rajoute du lait sur la liste des courses
  • ajoute réparer le volet aux tâches
  • ajoute réparer le volet à la liste des tâches

Features

  • Infinitive and Imperatif forms for the action verbs (Ajoute, Ajouter)
  • Singular and Plural, masculine, feminine for the item (Ajoute du pain, de la bière, des craquottes, de l'eau, etc)
  • Singular and Plural, masculine, feminine for the list (À la liste de courses, aux taches, au livre des dolenances, etc)

Added tests for all that.

Note

What do we do with HassShoppingListAddItem ?
Now that all shopping lists are also todo entities, I think we could safely remove this intent completely from our intent collection.
For now, I did not touch it.

@jlpouffier jlpouffier changed the title Fr todo improvements 20240101 [FR] TODO improvements 20240101 Jan 1, 2024
@jlpouffier jlpouffier marked this pull request as ready for review January 1, 2024 15:44
@flexy2dd flexy2dd merged commit 3975bd2 into home-assistant:main Jan 1, 2024
2 checks passed
@jlpouffier jlpouffier deleted the fr-todo-improvments-20240101 branch January 1, 2024 20:45
schizza pushed a commit to schizza/intents that referenced this pull request Mar 16, 2024
* Add sentence for HassListAddItem

* Add new todo entity on fixtures

* New test for HassListAddItem

* Small fix on a_le and de_le

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

Successfully merging this pull request may close these issues.

2 participants