Add missing return type in Core constructors (#50884)

This commit is contained in:
Ruslan Sayfutdinov 2021-05-20 16:53:29 +01:00 committed by GitHub
parent cf228e3fe5
commit 391b2f8ccd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
20 changed files with 29 additions and 25 deletions

View file

@ -42,7 +42,7 @@ class DataUpdateCoordinator(Generic[T]):
update_interval: timedelta | None = None,
update_method: Callable[[], Awaitable[T]] | None = None,
request_refresh_debouncer: Debouncer | None = None,
):
) -> None:
"""Initialize global data updater."""
self.hass = hass
self.logger = logger