mirror of
https://github.com/home-assistant/core.git
synced 2025-07-21 04:07:08 +00:00
parent
840089b8ac
commit
da8ce7bbf3
@ -127,7 +127,7 @@ class LocalTodoListEntity(TodoListEntity):
|
|||||||
await self.async_update_ha_state(force_refresh=True)
|
await self.async_update_ha_state(force_refresh=True)
|
||||||
|
|
||||||
async def async_delete_todo_items(self, uids: list[str]) -> None:
|
async def async_delete_todo_items(self, uids: list[str]) -> None:
|
||||||
"""Add an item to the To-do list."""
|
"""Delete an item from the To-do list."""
|
||||||
store = TodoStore(self._calendar)
|
store = TodoStore(self._calendar)
|
||||||
for uid in uids:
|
for uid in uids:
|
||||||
store.delete(uid)
|
store.delete(uid)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user