Import image_processing constants from const (#63461)

This commit is contained in:
Marc Mueller 2022-01-05 14:58:00 +01:00 committed by GitHub
parent b168a8c7d0
commit dfa94d6ce1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
13 changed files with 48 additions and 58 deletions

View file

@ -6,12 +6,8 @@ import io
from PIL import Image
from pyzbar import pyzbar
from homeassistant.components.image_processing import (
CONF_ENTITY_ID,
CONF_NAME,
CONF_SOURCE,
ImageProcessingEntity,
)
from homeassistant.components.image_processing import ImageProcessingEntity
from homeassistant.const import 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