-
-
Notifications
You must be signed in to change notification settings - Fork 31.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve Google Tasks coordinator updates behavior (#133316)
- Loading branch information
1 parent
255f85e
commit a3ef3cc
Showing
7 changed files
with
107 additions
and
58 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,7 @@ | ||
"""Types for the Google Tasks integration.""" | ||
|
||
from dataclasses import dataclass | ||
from typing import Any | ||
|
||
from homeassistant.config_entries import ConfigEntry | ||
|
||
from .api import AsyncConfigEntryAuth | ||
|
||
|
||
@dataclass | ||
class GoogleTasksData: | ||
"""Class to hold Google Tasks data.""" | ||
|
||
api: AsyncConfigEntryAuth | ||
task_lists: list[dict[str, Any]] | ||
|
||
from .coordinator import TaskUpdateCoordinator | ||
|
||
type GoogleTasksConfigEntry = ConfigEntry[GoogleTasksData] | ||
type GoogleTasksConfigEntry = ConfigEntry[list[TaskUpdateCoordinator]] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters