mirror of
https://github.com/home-assistant/core.git
synced 2025-07-22 20:57:21 +00:00
Use core constants for frontend component (#46203)
This commit is contained in:
parent
9b0955b67e
commit
5faf463205
@ -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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user