mirror of
https://github.com/home-assistant/core.git
synced 2025-07-26 22:57:17 +00:00
Move Dynalite configuration panel to config entry (#96853)
This commit is contained in:
parent
e39187423f
commit
f4bc32ea08
@ -108,9 +108,8 @@ async def async_register_dynalite_frontend(hass: HomeAssistant):
|
|||||||
await panel_custom.async_register_panel(
|
await panel_custom.async_register_panel(
|
||||||
hass=hass,
|
hass=hass,
|
||||||
frontend_url_path=DOMAIN,
|
frontend_url_path=DOMAIN,
|
||||||
|
config_panel_domain=DOMAIN,
|
||||||
webcomponent_name="dynalite-panel",
|
webcomponent_name="dynalite-panel",
|
||||||
sidebar_title=DOMAIN.capitalize(),
|
|
||||||
sidebar_icon="mdi:power",
|
|
||||||
module_url=f"{URL_BASE}/entrypoint-{build_id}.js",
|
module_url=f"{URL_BASE}/entrypoint-{build_id}.js",
|
||||||
embed_iframe=True,
|
embed_iframe=True,
|
||||||
require_admin=True,
|
require_admin=True,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user