Some textual fixes for todo (#102895)

This commit is contained in:
Franck Nijhof 2023-10-27 13:28:16 +02:00 committed by GitHub
parent a7183a0cbf
commit c77a3facf5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 20 additions and 20 deletions

View File

@ -1,6 +1,6 @@
{ {
"domain": "todo", "domain": "todo",
"name": "To-do", "name": "To-do list",
"codeowners": ["@home-assistant/core"], "codeowners": ["@home-assistant/core"],
"dependencies": ["http"], "dependencies": ["http"],
"documentation": "https://www.home-assistant.io/integrations/todo", "documentation": "https://www.home-assistant.io/integrations/todo",

View File

@ -7,7 +7,7 @@ create_item:
fields: fields:
summary: summary:
required: true required: true
example: "Submit Income Tax Return" example: "Submit income tax return"
selector: selector:
text: text:
status: status:
@ -29,7 +29,7 @@ update_item:
selector: selector:
text: text:
summary: summary:
example: "Submit Income Tax Return" example: "Submit income tax return"
selector: selector:
text: text:
status: status:

View File

@ -1,5 +1,5 @@
{ {
"title": "To-do List", "title": "To-do list",
"entity_component": { "entity_component": {
"_": { "_": {
"name": "[%key:component::todo::title%]" "name": "[%key:component::todo::title%]"
@ -7,48 +7,48 @@
}, },
"services": { "services": {
"create_item": { "create_item": {
"name": "Create To-do List Item", "name": "Create to-do list item",
"description": "Add a new To-do List Item.", "description": "Add a new to-do list item.",
"fields": { "fields": {
"summary": { "summary": {
"name": "Summary", "name": "Summary",
"description": "The short summary that represents the To-do item." "description": "The short summary that represents the to-do item."
}, },
"status": { "status": {
"name": "Status", "name": "Status",
"description": "A status or confirmation of the To-do item." "description": "A status or confirmation of the to-do item."
} }
} }
}, },
"update_item": { "update_item": {
"name": "Update To-do List Item", "name": "Update to-do list item",
"description": "Update an existing To-do List Item based on either its Unique Id or Summary.", "description": "Update an existing to-do list item based on either its unique ID or summary.",
"fields": { "fields": {
"uid": { "uid": {
"name": "To-do Item Unique Id", "name": "To-do item unique ID",
"description": "Unique Identifier for the To-do List Item." "description": "Unique identifier for the to-do list item."
}, },
"summary": { "summary": {
"name": "Summary", "name": "Summary",
"description": "The short summary that represents the To-do item." "description": "The short summary that represents the to-do item."
}, },
"status": { "status": {
"name": "Status", "name": "Status",
"description": "A status or confirmation of the To-do item." "description": "A status or confirmation of the to-do item."
} }
} }
}, },
"delete_item": { "delete_item": {
"name": "Delete a To-do List Item", "name": "Delete a to-do list item",
"description": "Delete an existing To-do List Item either by its Unique Id or Summary.", "description": "Delete an existing to-do list item either by its unique ID or summary.",
"fields": { "fields": {
"uid": { "uid": {
"name": "To-do Item Unique Ids", "name": "To-do item unique IDs",
"description": "Unique Identifiers for the To-do List Items." "description": "Unique identifiers for the to-do list items."
}, },
"summary": { "summary": {
"name": "Summary", "name": "Summary",
"description": "The short summary that represents the To-do item." "description": "The short summary that represents the to-do item."
} }
} }
} }
@ -56,7 +56,7 @@
"selector": { "selector": {
"status": { "status": {
"options": { "options": {
"needs_action": "Needs Action", "needs_action": "Not completed",
"completed": "Completed" "completed": "Completed"
} }
} }