mirror of
https://github.com/home-assistant/core.git
synced 2026-02-03 22:05:35 +01:00
103 lines
3.4 KiB
JSON
103 lines
3.4 KiB
JSON
{
|
|
"entity_component": {
|
|
"_": {
|
|
"name": "[%key:component::todo::title%]"
|
|
}
|
|
},
|
|
"exceptions": {
|
|
"item_not_found": {
|
|
"message": "Unable to find to-do list item: {item}"
|
|
},
|
|
"update_field_not_supported": {
|
|
"message": "Entity does not support setting field: {service_field}"
|
|
}
|
|
},
|
|
"selector": {
|
|
"status": {
|
|
"options": {
|
|
"completed": "Completed",
|
|
"needs_action": "Not completed"
|
|
}
|
|
}
|
|
},
|
|
"services": {
|
|
"add_item": {
|
|
"description": "Adds a new to-do list item.",
|
|
"fields": {
|
|
"description": {
|
|
"description": "A more complete description of the to-do item than provided by the item name.",
|
|
"name": "Description"
|
|
},
|
|
"due_date": {
|
|
"description": "The date the to-do item is expected to be completed.",
|
|
"name": "Due date"
|
|
},
|
|
"due_datetime": {
|
|
"description": "The date and time the to-do item is expected to be completed.",
|
|
"name": "Due date and time"
|
|
},
|
|
"item": {
|
|
"description": "The name that represents the to-do item.",
|
|
"name": "Item name"
|
|
}
|
|
},
|
|
"name": "Add item"
|
|
},
|
|
"get_items": {
|
|
"description": "Gets items on a to-do list.",
|
|
"fields": {
|
|
"status": {
|
|
"description": "Only return to-do items with the specified statuses. Returns not completed actions by default.",
|
|
"name": "Status"
|
|
}
|
|
},
|
|
"name": "Get items"
|
|
},
|
|
"remove_completed_items": {
|
|
"description": "Removes all to-do list items that have been completed.",
|
|
"name": "Remove completed items"
|
|
},
|
|
"remove_item": {
|
|
"description": "Removes an existing to-do list item by its name or UID.",
|
|
"fields": {
|
|
"item": {
|
|
"description": "[%key:component::todo::services::update_item::fields::item::description%]",
|
|
"name": "[%key:component::todo::services::update_item::fields::item::name%]"
|
|
}
|
|
},
|
|
"name": "Remove item"
|
|
},
|
|
"update_item": {
|
|
"description": "Updates an existing to-do list item based on its name or UID.",
|
|
"fields": {
|
|
"description": {
|
|
"description": "[%key:component::todo::services::add_item::fields::description::description%]",
|
|
"name": "[%key:component::todo::services::add_item::fields::description::name%]"
|
|
},
|
|
"due_date": {
|
|
"description": "[%key:component::todo::services::add_item::fields::due_date::description%]",
|
|
"name": "[%key:component::todo::services::add_item::fields::due_date::name%]"
|
|
},
|
|
"due_datetime": {
|
|
"description": "[%key:component::todo::services::add_item::fields::due_datetime::description%]",
|
|
"name": "[%key:component::todo::services::add_item::fields::due_datetime::name%]"
|
|
},
|
|
"item": {
|
|
"description": "The name/summary of the to-do item. If you have items with duplicate names, you can reference specific ones using their UID instead.",
|
|
"name": "Item name or UID"
|
|
},
|
|
"rename": {
|
|
"description": "The new name for the to-do item",
|
|
"name": "Rename item"
|
|
},
|
|
"status": {
|
|
"description": "A status or confirmation of the to-do item.",
|
|
"name": "Set status"
|
|
}
|
|
},
|
|
"name": "Update item"
|
|
}
|
|
},
|
|
"title": "To-do list"
|
|
}
|