Home Assistant Unofficial Reference 2024.12.1
__init__.py File Reference

Go to the source code of this file.

Classes

class  homeassistant.components.frontend.IndexView
 
class  homeassistant.components.frontend.Manifest
 
class  homeassistant.components.frontend.ManifestJSONView
 
class  homeassistant.components.frontend.Panel
 
class  homeassistant.components.frontend.PanelRespons
 
class  homeassistant.components.frontend.UrlManager
 

Namespaces

 homeassistant.components.frontend
 

Functions

str homeassistant.components.frontend._async_render_index_cached (jinja2.Template template, **Any kwargs)
 
None homeassistant.components.frontend._async_setup_themes (HomeAssistant hass, dict[str, Any]|None themes)
 
pathlib.Path homeassistant.components.frontend._frontend_root (str|None dev_repo_path)
 
None homeassistant.components.frontend.add_extra_js_url (HomeAssistant hass, str url, bool es5=False)
 
None homeassistant.components.frontend.add_manifest_json_key (str key, Any val)
 
None homeassistant.components.frontend.async_register_built_in_panel (HomeAssistant hass, str component_name, str|None sidebar_title=None, str|None sidebar_icon=None, str|None frontend_url_path=None, dict[str, Any]|None config=None, bool require_admin=False, *bool update=False, str|None config_panel_domain=None)
 
None homeassistant.components.frontend.async_remove_panel (HomeAssistant hass, str frontend_url_path, *bool warn_if_unknown=True)
 
bool homeassistant.components.frontend.async_setup (HomeAssistant hass, ConfigType config)
 
None homeassistant.components.frontend.remove_extra_js_url (HomeAssistant hass, str url, bool es5=False)
 
None homeassistant.components.frontend.websocket_get_icons (HomeAssistant hass, ActiveConnection connection, dict[str, Any] msg)
 
None homeassistant.components.frontend.websocket_get_panels (HomeAssistant hass, ActiveConnection connection, dict[str, Any] msg)
 
None homeassistant.components.frontend.websocket_get_themes (HomeAssistant hass, ActiveConnection connection, dict[str, Any] msg)
 
None homeassistant.components.frontend.websocket_get_translations (HomeAssistant hass, ActiveConnection connection, dict[str, Any] msg)
 
None homeassistant.components.frontend.websocket_get_version (HomeAssistant hass, ActiveConnection connection, dict[str, Any] msg)
 
None homeassistant.components.frontend.websocket_subscribe_extra_js (HomeAssistant hass, ActiveConnection connection, dict[str, Any] msg)
 

Variables

 homeassistant.components.frontend._LOGGER = logging.getLogger(__name__)
 
string homeassistant.components.frontend.CONF_EXTRA_HTML_URL = "extra_html_url"
 
string homeassistant.components.frontend.CONF_EXTRA_HTML_URL_ES5 = "extra_html_url_es5"
 
string homeassistant.components.frontend.CONF_EXTRA_JS_URL_ES5 = "extra_js_url_es5"
 
string homeassistant.components.frontend.CONF_EXTRA_MODULE_URL = "extra_module_url"
 
string homeassistant.components.frontend.CONF_FRONTEND_REPO = "development_repo"
 
string homeassistant.components.frontend.CONF_JS_VERSION = "javascript_version"
 
string homeassistant.components.frontend.CONF_THEMES = "themes"
 
string homeassistant.components.frontend.CONF_THEMES_DARK = "dark"
 
string homeassistant.components.frontend.CONF_THEMES_LIGHT = "light"
 
string homeassistant.components.frontend.CONF_THEMES_MODES = "modes"
 
 homeassistant.components.frontend.CONFIG_SCHEMA
 
string homeassistant.components.frontend.DATA_DEFAULT_DARK_THEME = "frontend_default_dark_theme"
 
string homeassistant.components.frontend.DATA_DEFAULT_THEME = "frontend_default_theme"
 
string homeassistant.components.frontend.DATA_EXTRA_JS_URL_ES5 = "frontend_extra_js_url_es5"
 
string homeassistant.components.frontend.DATA_EXTRA_MODULE_URL = "frontend_extra_module_url"
 
string homeassistant.components.frontend.DATA_JS_VERSION = "frontend_js_version"
 
string homeassistant.components.frontend.DATA_PANELS = "frontend_panels"
 
string homeassistant.components.frontend.DATA_THEMES = "frontend_themes"
 
string homeassistant.components.frontend.DATA_THEMES_STORE = "frontend_themes_store"
 
string homeassistant.components.frontend.DEFAULT_THEME = "default"
 
string homeassistant.components.frontend.DEFAULT_THEME_COLOR = "#03A9F4"
 
string homeassistant.components.frontend.DOMAIN = "frontend"
 
 homeassistant.components.frontend.EXTENDED_THEME_SCHEMA
 
 homeassistant.components.frontend.MANIFEST_JSON
 
string homeassistant.components.frontend.PRIMARY_COLOR = "primary-color"
 
string homeassistant.components.frontend.SERVICE_RELOAD_THEMES = "reload_themes"
 
string homeassistant.components.frontend.SERVICE_SET_THEME = "set_theme"
 
 homeassistant.components.frontend.THEME_SCHEMA
 
int homeassistant.components.frontend.THEMES_SAVE_DELAY = 60
 
string homeassistant.components.frontend.THEMES_STORAGE_KEY = f"{DOMAIN}_theme"
 
int homeassistant.components.frontend.THEMES_STORAGE_VERSION = 1
 
string homeassistant.components.frontend.VALUE_NO_THEME = "none"