Add missing type hints in entity_platform (#50453)
This commit is contained in:
parent
70961c79a0
commit
0cb08f9516
4 changed files with 40 additions and 27 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue