Fix lint issue (#57694)
This commit is contained in:
parent
681b5c48e2
commit
7546c766dd
1 changed files with 3 additions and 1 deletions
|
@ -5,7 +5,7 @@ import asyncio
|
|||
from collections.abc import Callable, Coroutine, Iterable
|
||||
from contextvars import ContextVar
|
||||
from datetime import datetime, timedelta
|
||||
from logging import Logger
|
||||
from logging import Logger, getLogger
|
||||
from types import ModuleType
|
||||
from typing import TYPE_CHECKING, Any, Protocol
|
||||
|
||||
|
@ -58,6 +58,8 @@ PLATFORM_NOT_READY_RETRIES = 10
|
|||
DATA_ENTITY_PLATFORM = "entity_platform"
|
||||
PLATFORM_NOT_READY_BASE_WAIT_TIME = 30 # seconds
|
||||
|
||||
_LOGGER = getLogger(__name__)
|
||||
|
||||
|
||||
class AddEntitiesCallback(Protocol):
|
||||
"""Protocol type for EntityPlatform.add_entities callback."""
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue