Remove Supervisor panel title and icon (#60894)

This commit is contained in:
Joakim Sørensen 2021-12-03 10:35:57 +01:00 committed by GitHub
parent 85293d8073
commit d784c8dd1a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 4 deletions

View File

@ -461,8 +461,6 @@ async def async_setup(hass: HomeAssistant, config: ConfigType) -> bool: # noqa:
await hass.components.panel_custom.async_register_panel(
frontend_url_path="hassio",
webcomponent_name="hassio-main",
sidebar_title="Supervisor",
sidebar_icon="hass:home-assistant",
js_url="/api/hassio/app/entrypoint.js",
embed_iframe=True,
require_admin=True,

View File

@ -165,8 +165,8 @@ async def test_setup_api_panel(hass, aioclient_mock):
assert panels.get("hassio").to_response() == {
"component_name": "custom",
"icon": "hass:home-assistant",
"title": "Supervisor",
"icon": None,
"title": None,
"url_path": "hassio",
"require_admin": True,
"config": {