Home Assistant Unofficial Reference 2024.12.1
__init__.py File Reference

Go to the source code of this file.

Namespaces

 homeassistant.components.panel_custom
 

Functions

None homeassistant.components.panel_custom.async_register_panel (HomeAssistant hass, str frontend_url_path, str webcomponent_name, str|None sidebar_title=None, str|None sidebar_icon=None, str|None js_url=None, str|None module_url=None, bool embed_iframe=DEFAULT_EMBED_IFRAME, bool trust_external=DEFAULT_TRUST_EXTERNAL, ConfigType|None config=None, bool require_admin=False, str|None config_panel_domain=None)
 
bool homeassistant.components.panel_custom.async_setup (HomeAssistant hass, ConfigType config)
 

Variables

 homeassistant.components.panel_custom._LOGGER = logging.getLogger(__name__)
 
string homeassistant.components.panel_custom.CONF_COMPONENT_NAME = "name"
 
string homeassistant.components.panel_custom.CONF_CONFIG = "config"
 
string homeassistant.components.panel_custom.CONF_EMBED_IFRAME = "embed_iframe"
 
string homeassistant.components.panel_custom.CONF_JS_URL = "js_url"
 
string homeassistant.components.panel_custom.CONF_MODULE_URL = "module_url"
 
string homeassistant.components.panel_custom.CONF_REQUIRE_ADMIN = "require_admin"
 
string homeassistant.components.panel_custom.CONF_SIDEBAR_ICON = "sidebar_icon"
 
string homeassistant.components.panel_custom.CONF_SIDEBAR_TITLE = "sidebar_title"
 
string homeassistant.components.panel_custom.CONF_TRUST_EXTERNAL_SCRIPT = "trust_external_script"
 
string homeassistant.components.panel_custom.CONF_URL_EXCLUSIVE_GROUP = "url_exclusive_group"
 
string homeassistant.components.panel_custom.CONF_URL_PATH = "url_path"
 
 homeassistant.components.panel_custom.CONFIG_SCHEMA
 
bool homeassistant.components.panel_custom.DEFAULT_EMBED_IFRAME = False
 
string homeassistant.components.panel_custom.DEFAULT_ICON = "mdi:bookmark"
 
bool homeassistant.components.panel_custom.DEFAULT_TRUST_EXTERNAL = False
 
string homeassistant.components.panel_custom.DOMAIN = "panel_custom"
 
string homeassistant.components.panel_custom.LEGACY_URL = "/api/panel_custom/{}"
 
string homeassistant.components.panel_custom.PANEL_DIR = "panels"