Helpers type hint improvements (#38522)

This commit is contained in:
Ville Skyttä authored and GitHub committed 2020-08-12 23:01:10 +02:00
1 parent 15db2225da
commit 991bf126d4
3 files changed
+27 -18

No files matched your search

+1 -1
View File
@@ -164,7 +164,7 @@ class EntityComponent:
scan_interval=getattr(platform, "SCAN_INTERVAL", None),
)
return await self._platforms[key].async_setup_entry(config_entry) # type: ignore
return await self._platforms[key].async_setup_entry(config_entry)
async def async_unload_entry(self, config_entry: ConfigEntry) -> bool:
"""Unload a config entry."""