Use ruff to force alias when importing PLATFORM_SCHEMA (#120539)
This commit is contained in:
parent
e39d26bdc0
commit
fd67fe417e
4 changed files with 54 additions and 7 deletions
|
@ -6,15 +6,16 @@ import io
|
|||
|
||||
import face_recognition
|
||||
|
||||
from homeassistant.components.image_processing import ImageProcessingFaceEntity
|
||||
from homeassistant.components.image_processing import (
|
||||
PLATFORM_SCHEMA as IMAGE_PROCESSING_PLATFORM_SCHEMA,
|
||||
ImageProcessingFaceEntity,
|
||||
)
|
||||
from homeassistant.const import ATTR_LOCATION, CONF_ENTITY_ID, CONF_NAME, CONF_SOURCE
|
||||
from homeassistant.core import HomeAssistant, split_entity_id
|
||||
from homeassistant.helpers.entity_platform import AddEntitiesCallback
|
||||
from homeassistant.helpers.typing import ConfigType, DiscoveryInfoType
|
||||
|
||||
from homeassistant.components.image_processing import ( # noqa: F401, isort:skip
|
||||
PLATFORM_SCHEMA,
|
||||
)
|
||||
PLATFORM_SCHEMA = IMAGE_PROCESSING_PLATFORM_SCHEMA
|
||||
|
||||
|
||||
def setup_platform(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue