mirror of
https://github.com/home-assistant/core.git
synced 2025-07-23 21:27:38 +00:00
Use core constants for image_processing (#46269)
This commit is contained in:
parent
da67cde369
commit
c69c493cf9
@ -5,7 +5,13 @@ import logging
|
||||
|
||||
import voluptuous as vol
|
||||
|
||||
from homeassistant.const import ATTR_ENTITY_ID, ATTR_NAME, CONF_ENTITY_ID, CONF_NAME
|
||||
from homeassistant.const import (
|
||||
ATTR_ENTITY_ID,
|
||||
ATTR_NAME,
|
||||
CONF_ENTITY_ID,
|
||||
CONF_NAME,
|
||||
CONF_SOURCE,
|
||||
)
|
||||
from homeassistant.core import callback
|
||||
from homeassistant.exceptions import HomeAssistantError
|
||||
import homeassistant.helpers.config_validation as cv
|
||||
@ -39,7 +45,6 @@ ATTR_GLASSES = "glasses"
|
||||
ATTR_MOTION = "motion"
|
||||
ATTR_TOTAL_FACES = "total_faces"
|
||||
|
||||
CONF_SOURCE = "source"
|
||||
CONF_CONFIDENCE = "confidence"
|
||||
|
||||
DEFAULT_TIMEOUT = 10
|
||||
|
Loading…
x
Reference in New Issue
Block a user