Change update semantics of To-do items (#2022)

This commit is contained in:
Allen Porter 2023-12-27 04:15:04 -08:00 committed by GitHub
parent 7dbd066c18
commit 11e231b954
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -70,8 +70,8 @@ class MyTodoListEntity(TodoListEntity):
A To-do list entity may support updating To-do items by specifying the `UPDATE_TODO_ITEM`
supported feature. The `TodoItem` field `uid` is always present and indicates
which item should be updated, and all other fields are optional. Integrations
must support partial update.
which item should be updated. The item passed to update is a copy of the original
item with fields updated or cleared.
```python
from homeassistant.components.todo import TodoListEntity