mirror of
https://github.com/home-assistant/core.git
synced 2026-06-01 13:14:35 +01:00
05eeb6a1bc
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: frenck <195327+frenck@users.noreply.github.com>
151 lines
4.9 KiB
JSON
151 lines
4.9 KiB
JSON
{
|
|
"common": {
|
|
"condition_behavior_name": "Condition passes if",
|
|
"condition_for_name": "For at least",
|
|
"condition_threshold_name": "Threshold type"
|
|
},
|
|
"conditions": {
|
|
"all_completed": {
|
|
"description": "Tests if all to-do items are completed in one or more to-do lists.",
|
|
"fields": {
|
|
"behavior": {
|
|
"name": "[%key:component::todo::common::condition_behavior_name%]"
|
|
},
|
|
"for": {
|
|
"name": "[%key:component::todo::common::condition_for_name%]"
|
|
}
|
|
},
|
|
"name": "All to-do items completed"
|
|
},
|
|
"incomplete": {
|
|
"description": "Tests the number of incomplete to-do items in one or more to-do lists.",
|
|
"fields": {
|
|
"behavior": {
|
|
"name": "[%key:component::todo::common::condition_behavior_name%]"
|
|
},
|
|
"for": {
|
|
"name": "[%key:component::todo::common::condition_for_name%]"
|
|
},
|
|
"threshold": {
|
|
"name": "[%key:component::todo::common::condition_threshold_name%]"
|
|
}
|
|
},
|
|
"name": "Incomplete to-do items"
|
|
}
|
|
},
|
|
"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 to-do list 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 to-do list items"
|
|
},
|
|
"remove_completed_items": {
|
|
"description": "Removes all to-do list items that have been completed.",
|
|
"name": "Remove completed to-do list 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 to-do list 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 to-do list item"
|
|
}
|
|
},
|
|
"title": "To-do list",
|
|
"triggers": {
|
|
"item_added": {
|
|
"description": "Triggers when a to-do item is added to a list.",
|
|
"name": "To-do item added"
|
|
},
|
|
"item_completed": {
|
|
"description": "Triggers when a to-do item is marked as done.",
|
|
"name": "To-do item completed"
|
|
},
|
|
"item_removed": {
|
|
"description": "Triggers when a to-do item is removed from a list.",
|
|
"name": "To-do item removed"
|
|
}
|
|
}
|
|
}
|