mirror of
https://github.com/home-assistant/core.git
synced 2025-07-18 18:57:06 +00:00
Use core constants for local_file (#46349)
This commit is contained in:
parent
7f8fa7feaf
commit
af2fa17e8e
@ -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__)
|
||||
|
||||
|
@ -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"
|
||||
|
Loading…
x
Reference in New Issue
Block a user