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
20 changed files with 29 additions and 25 deletions

View File

@@ -76,7 +76,7 @@ class EntityComponent:
domain: str,
hass: HomeAssistant,
scan_interval: timedelta = DEFAULT_SCAN_INTERVAL,
):
) -> None:
"""Initialize an entity component."""
self.logger = logger
self.hass = hass