From 725dcb5cacd24059122eb71c5d73373c4745716a Mon Sep 17 00:00:00 2001 From: tkdrob Date: Fri, 5 Feb 2021 06:17:46 -0500 Subject: [PATCH] Use core constants for doods (#46043) --- homeassistant/components/doods/image_processing.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/homeassistant/components/doods/image_processing.py b/homeassistant/components/doods/image_processing.py index f4180ffcffa..fb2b6daecda 100644 --- a/homeassistant/components/doods/image_processing.py +++ b/homeassistant/components/doods/image_processing.py @@ -16,7 +16,7 @@ from homeassistant.components.image_processing import ( PLATFORM_SCHEMA, ImageProcessingEntity, ) -from homeassistant.const import CONF_TIMEOUT +from homeassistant.const import CONF_COVERS, CONF_TIMEOUT, CONF_URL from homeassistant.core import split_entity_id from homeassistant.helpers import template import homeassistant.helpers.config_validation as cv @@ -29,12 +29,10 @@ ATTR_SUMMARY = "summary" ATTR_TOTAL_MATCHES = "total_matches" ATTR_PROCESS_TIME = "process_time" -CONF_URL = "url" CONF_AUTH_KEY = "auth_key" CONF_DETECTOR = "detector" CONF_LABELS = "labels" CONF_AREA = "area" -CONF_COVERS = "covers" CONF_TOP = "top" CONF_BOTTOM = "bottom" CONF_RIGHT = "right"