mirror of
https://github.com/home-assistant/core.git
synced 2025-11-09 02:49:40 +00:00
Add missing type hints in entity_platform (#50453)
This commit is contained in:
committed by
GitHub
parent
70961c79a0
commit
0cb08f9516
@@ -246,9 +246,7 @@ class EntityComponent:
|
||||
platform_type, platform, scan_interval, entity_namespace
|
||||
)
|
||||
|
||||
await self._platforms[key].async_setup( # type: ignore
|
||||
platform_config, discovery_info
|
||||
)
|
||||
await self._platforms[key].async_setup(platform_config, discovery_info)
|
||||
|
||||
async def _async_reset(self) -> None:
|
||||
"""Remove entities and reset the entity component to initial values.
|
||||
|
||||
Reference in New Issue
Block a user