mirror of
https://github.com/home-assistant/core.git
synced 2025-12-24 12:59:34 +00:00
Update black to 23.1.0 (#87188)
This commit is contained in:
@@ -210,9 +210,9 @@ class EntityPlatform:
|
||||
return
|
||||
|
||||
@callback
|
||||
def async_create_setup_task() -> Coroutine[
|
||||
Any, Any, None
|
||||
] | asyncio.Future[None]:
|
||||
def async_create_setup_task() -> (
|
||||
Coroutine[Any, Any, None] | asyncio.Future[None]
|
||||
):
|
||||
"""Get task to set up platform."""
|
||||
if getattr(platform, "async_setup_platform", None):
|
||||
return platform.async_setup_platform( # type: ignore[union-attr]
|
||||
|
||||
Reference in New Issue
Block a user