Fix google tasks todo docstrings (#128978)
This commit is contained in:
parent
de77751779
commit
8c0def7c79
1 changed files with 3 additions and 3 deletions
|
@ -106,7 +106,7 @@ class GoogleTaskTodoListEntity(
|
|||
config_entry_id: str,
|
||||
task_list_id: str,
|
||||
) -> None:
|
||||
"""Initialize LocalTodoListEntity."""
|
||||
"""Initialize GoogleTaskTodoListEntity."""
|
||||
super().__init__(coordinator)
|
||||
self._attr_name = name.capitalize()
|
||||
self._attr_unique_id = f"{config_entry_id}-{task_list_id}"
|
||||
|
@ -153,9 +153,9 @@ class GoogleTaskTodoListEntity(
|
|||
def _order_tasks(tasks: list[dict[str, Any]]) -> list[dict[str, Any]]:
|
||||
"""Order the task items response.
|
||||
|
||||
All tasks have an order amongst their sibblings based on position.
|
||||
All tasks have an order amongst their siblings based on position.
|
||||
|
||||
Home Assistant To-do items do not support the Google Task parent/sibbling
|
||||
Home Assistant To-do items do not support the Google Task parent/sibling
|
||||
relationships and the desired behavior is for them to be filtered.
|
||||
"""
|
||||
parents = [task for task in tasks if task.get("parent") is None]
|
||||
|
|
Loading…
Add table
Reference in a new issue