1 """Base coordinator."""
3 from asyncio
import Semaphore
4 from collections.abc
import Awaitable, Callable
5 from datetime
import timedelta
6 from logging
import Logger
14 """Class to manage fetching data from devolo Home Network devices."""
21 config_entry: ConfigEntry,
24 update_interval: timedelta,
25 update_method: Callable[[], Awaitable[_DataT]],
27 """Initialize global data updater."""
31 config_entry=config_entry,
33 update_interval=update_interval,
34 update_method=update_method,
39 """Fetch the latest data from the source."""
_DataT _async_update_data(self)
None __init__(self, HomeAssistant hass, Logger logger, *ConfigEntry config_entry, str name, Semaphore semaphore, timedelta update_interval, Callable[[], Awaitable[_DataT]] update_method)