diff --git a/homeassistant/components/lovelace/__init__.py b/homeassistant/components/lovelace/__init__.py index 0dc6b52a937a..170a3be50857 100644 --- a/homeassistant/components/lovelace/__init__.py +++ b/homeassistant/components/lovelace/__init__.py @@ -9,7 +9,7 @@ from typing import Any import probatio from homeassistant.components import frontend, onboarding, websocket_api -from homeassistant.const import CONF_FILENAME, CONF_MODE, CONF_RESOURCES +from homeassistant.const import CONF_FILENAME, CONF_ICON, CONF_MODE, CONF_RESOURCES from homeassistant.core import HomeAssistant, callback from homeassistant.exceptions import HomeAssistantError from homeassistant.helpers import ( @@ -25,7 +25,6 @@ from homeassistant.util import slugify from . import dashboard, resources, websocket from .const import ( CONF_ALLOW_SINGLE_WORD, - CONF_ICON, CONF_REQUIRE_ADMIN, CONF_RESOURCE_MODE, CONF_SHOW_IN_SIDEBAR, diff --git a/homeassistant/components/lovelace/dashboard.py b/homeassistant/components/lovelace/dashboard.py index ed0438294924..2c571128c3c5 100644 --- a/homeassistant/components/lovelace/dashboard.py +++ b/homeassistant/components/lovelace/dashboard.py @@ -11,7 +11,7 @@ import probatio from homeassistant.components import websocket_api from homeassistant.components.frontend import async_panel_exists -from homeassistant.const import CONF_FILENAME +from homeassistant.const import CONF_FILENAME, CONF_ICON, EVENT_LOVELACE_UPDATED from homeassistant.core import HomeAssistant, callback from homeassistant.exceptions import HomeAssistantError from homeassistant.helpers import collection, storage @@ -20,10 +20,8 @@ from homeassistant.util.yaml import Secrets, load_yaml_dict from .const import ( CONF_ALLOW_SINGLE_WORD, - CONF_ICON, CONF_URL_PATH, DOMAIN, - EVENT_LOVELACE_UPDATED, LOVELACE_CONFIG_FILE, LOVELACE_DATA, MODE_STORAGE,