From 5faf463205a0d70e4b5689b2b87d223c51995a5a Mon Sep 17 00:00:00 2001 From: tkdrob Date: Mon, 8 Feb 2021 05:36:45 -0500 Subject: [PATCH] Use core constants for frontend component (#46203) --- homeassistant/components/frontend/__init__.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/homeassistant/components/frontend/__init__.py b/homeassistant/components/frontend/__init__.py index cdf25d22fe8..bb503ee8673 100644 --- a/homeassistant/components/frontend/__init__.py +++ b/homeassistant/components/frontend/__init__.py @@ -14,7 +14,7 @@ from yarl import URL from homeassistant.components import websocket_api from homeassistant.components.http.view import HomeAssistantView from homeassistant.config import async_hass_config_yaml -from homeassistant.const import CONF_NAME, EVENT_THEMES_UPDATED +from homeassistant.const import CONF_MODE, CONF_NAME, EVENT_THEMES_UPDATED from homeassistant.core import callback from homeassistant.helpers import service import homeassistant.helpers.config_validation as cv @@ -113,7 +113,6 @@ CONFIG_SCHEMA = vol.Schema( SERVICE_SET_THEME = "set_theme" SERVICE_RELOAD_THEMES = "reload_themes" -CONF_MODE = "mode" class Panel: