diff --git a/source/_integrations/todo.markdown b/source/_integrations/todo.markdown index 3418365fe3d..a34e62d2400 100644 --- a/source/_integrations/todo.markdown +++ b/source/_integrations/todo.markdown @@ -112,3 +112,15 @@ target: data: item: "Submit income tax return" ``` + +### Service `todo.remove_completed_items` + +Removes all completed to-do items. A to-do list `target` is selected with a [Target Selector](/docs/blueprint/selectors/#target-selector). + +This is a full example of a service call that deletes all completed to-do items. + +```yaml +service: todo.remove_completed_items +target: + entity_id: todo.personal_tasks +``` \ No newline at end of file