diff --git a/homeassistant/components/local_file/camera.py b/homeassistant/components/local_file/camera.py index 1d06efeb708..b0b84677183 100644 --- a/homeassistant/components/local_file/camera.py +++ b/homeassistant/components/local_file/camera.py @@ -10,16 +10,10 @@ from homeassistant.components.camera import ( PLATFORM_SCHEMA, Camera, ) -from homeassistant.const import ATTR_ENTITY_ID, CONF_NAME +from homeassistant.const import ATTR_ENTITY_ID, CONF_FILE_PATH, CONF_NAME from homeassistant.helpers import config_validation as cv -from .const import ( - CONF_FILE_PATH, - DATA_LOCAL_FILE, - DEFAULT_NAME, - DOMAIN, - SERVICE_UPDATE_FILE_PATH, -) +from .const import DATA_LOCAL_FILE, DEFAULT_NAME, DOMAIN, SERVICE_UPDATE_FILE_PATH _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/local_file/const.py b/homeassistant/components/local_file/const.py index 5225a70daed..3ea98f89c0e 100644 --- a/homeassistant/components/local_file/const.py +++ b/homeassistant/components/local_file/const.py @@ -1,6 +1,5 @@ """Constants for the Local File Camera component.""" DOMAIN = "local_file" SERVICE_UPDATE_FILE_PATH = "update_file_path" -CONF_FILE_PATH = "file_path" DATA_LOCAL_FILE = "local_file_cameras" DEFAULT_NAME = "Local File"