Move constant to 'const.py' and use already definied ones (#10204)

This commit is contained in:
Fabian Affolter authored and Pascal Vizeli committed 2017-10-29 12:32:02 +01:00
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'