mirror of
https://github.com/home-assistant/core.git
synced 2025-07-23 21:27:38 +00:00
Update google tasks to return completed items (#122437)
This commit is contained in:
parent
4674502b92
commit
be4c7291bd
@ -68,7 +68,10 @@ class AsyncConfigEntryAuth:
|
|||||||
"""Get all Task resources for the task list."""
|
"""Get all Task resources for the task list."""
|
||||||
service = await self._get_service()
|
service = await self._get_service()
|
||||||
cmd: HttpRequest = service.tasks().list(
|
cmd: HttpRequest = service.tasks().list(
|
||||||
tasklist=task_list_id, maxResults=MAX_TASK_RESULTS
|
tasklist=task_list_id,
|
||||||
|
maxResults=MAX_TASK_RESULTS,
|
||||||
|
showCompleted=True,
|
||||||
|
showHidden=True,
|
||||||
)
|
)
|
||||||
result = await self._execute(cmd)
|
result = await self._execute(cmd)
|
||||||
return result["items"]
|
return result["items"]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user