Move constant to 'const.py' and use already definied ones (#10204)
This commit is contained in:
1 parent
97bb252d23
commit
115c59d88c
9 files changed
+43
-46
No files matched your search
@@ -13,7 +13,7 @@ import voluptuous as vol
|
||||
|
||||
import homeassistant.helpers.config_validation as cv
|
||||
from homeassistant.core import split_entity_id, callback
|
||||
from homeassistant.const import STATE_UNKNOWN
|
||||
from homeassistant.const import STATE_UNKNOWN, CONF_REGION
|
||||
from homeassistant.components.image_processing import (
|
||||
PLATFORM_SCHEMA, ImageProcessingEntity, CONF_CONFIDENCE, CONF_SOURCE,
|
||||
CONF_ENTITY_ID, CONF_NAME, ATTR_ENTITY_ID, ATTR_CONFIDENCE)
|
||||
@@ -46,7 +46,6 @@ OPENALPR_REGIONS = [
|
||||
]
|
||||
|
||||
CONF_ALPR_BIN = 'alp_bin'
|
||||
CONF_REGION = 'region'
|
||||
|
||||
DEFAULT_BINARY = 'alpr'
|
||||
|
||||
|
||||
Reference in new issue
Block a user