Skip to content

Commit 5b2d43d

Browse files
authored
Set climate, light and security panel not visible by default (home-assistant#155973)
1 parent b4d6a44 commit 5b2d43d

File tree

1 file changed

+21
-3
lines changed

1 file changed

+21
-3
lines changed

homeassistant/components/frontend/__init__.py

Lines changed: 21 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -460,9 +460,27 @@ async def async_setup(hass: HomeAssistant, config: ConfigType) -> bool:
460460

461461
hass.http.app.router.register_resource(IndexView(repo_path, hass))
462462

463-
async_register_built_in_panel(hass, "light")
464-
async_register_built_in_panel(hass, "security")
465-
async_register_built_in_panel(hass, "climate")
463+
async_register_built_in_panel(
464+
hass,
465+
"light",
466+
sidebar_icon="mdi:lamps",
467+
sidebar_title="light",
468+
sidebar_default_visible=False,
469+
)
470+
async_register_built_in_panel(
471+
hass,
472+
"security",
473+
sidebar_icon="mdi:security",
474+
sidebar_title="security",
475+
sidebar_default_visible=False,
476+
)
477+
async_register_built_in_panel(
478+
hass,
479+
"climate",
480+
sidebar_icon="mdi:home-thermometer",
481+
sidebar_title="climate",
482+
sidebar_default_visible=False,
483+
)
466484

467485
async_register_built_in_panel(hass, "profile")
468486

0 commit comments

Comments
 (0)