mirror of
https://github.com/home-assistant/core.git
synced 2025-07-17 10:17:09 +00:00
Encourage to use UID instead of name for update and delete todos (#143556)
This commit is contained in:
parent
dbc38cdc6b
commit
53df69ee6e
@ -100,6 +100,7 @@ remove_item:
|
|||||||
fields:
|
fields:
|
||||||
item:
|
item:
|
||||||
required: true
|
required: true
|
||||||
|
example: "Submit income tax return"
|
||||||
selector:
|
selector:
|
||||||
text:
|
text:
|
||||||
|
|
||||||
|
@ -40,11 +40,11 @@
|
|||||||
},
|
},
|
||||||
"update_item": {
|
"update_item": {
|
||||||
"name": "Update item",
|
"name": "Update item",
|
||||||
"description": "Updates an existing to-do list item based on its name.",
|
"description": "Updates an existing to-do list item based on its name or UID.",
|
||||||
"fields": {
|
"fields": {
|
||||||
"item": {
|
"item": {
|
||||||
"name": "Item name",
|
"name": "Item name or UID",
|
||||||
"description": "The current name of the to-do 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."
|
||||||
},
|
},
|
||||||
"rename": {
|
"rename": {
|
||||||
"name": "Rename item",
|
"name": "Rename item",
|
||||||
@ -74,11 +74,11 @@
|
|||||||
},
|
},
|
||||||
"remove_item": {
|
"remove_item": {
|
||||||
"name": "Remove item",
|
"name": "Remove item",
|
||||||
"description": "Removes an existing to-do list item by its name.",
|
"description": "Removes an existing to-do list item by its name or UID.",
|
||||||
"fields": {
|
"fields": {
|
||||||
"item": {
|
"item": {
|
||||||
"name": "Item name",
|
"name": "[%key:component::todo::services::update_item::fields::item::name%]",
|
||||||
"description": "The name for the to-do list item."
|
"description": "[%key:component::todo::services::update_item::fields::item::description%]"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user