mirror of
https://github.com/home-assistant/developers.home-assistant.git
synced 2025-07-08 09:56:30 +00:00
Change update semantics of To-do items (#2022)
This commit is contained in:
parent
7dbd066c18
commit
11e231b954
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user