Repository: home-assistant/core
File: homeassistant/components/frontend/__init__.py (Python)

Code before:
    hass.http.register_redirect("/shopping-list", "/todo")

    # Developer tools moved to config panel in 2026.2
    hass.http.register_redirect("/developer-tools", "/config/developer-tools")
    hass.http.register_redirect("/developer-tools/yaml", "/config/developer-tools/yaml")
    hass.http.register_redirect(
        "/developer-tools/state", "/config/developer-tools/state"
    )
    hass.http.register_redirect(
        "/developer-tools/action", "/config/developer-tools/action"
    )
    hass.http.register_redirect(
        "/developer-tools/template", "/config/developer-tools/template"
    )
    hass.http.register_redirect(
        "/developer-tools/event", "/config/developer-tools/event"
    )
    hass.http.register_redirect(
        "/developer-tools/statistics", "/config/developer-tools/statistics"
    )
    hass.http.register_redirect(
        "/developer-tools/assist", "/config/developer-tools/assist"
    )
    hass.http.register_redirect(
        "/developer-tools/debug", "/config/developer-tools/debug"
    )

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

    async_register_built_in_panel(
        hass,
        "light",
        sidebar_icon="mdi:lamps",
        sidebar_title="light",
        sidebar_default_visible=False,
    )
    async_register_built_in_panel(
        hass,
        "security",
        sidebar_icon="mdi:security",
        sidebar_title="security",
        sidebar_default_visible=False,
    )
    async_register_built_in_panel(
        hass,
        "climate",
        sidebar_icon="mdi:home-thermometer",
        sidebar_title="climate",
        sidebar_default_visible=False,
    )
    async_register_built_in_panel(

Review comment (bug):
```suggestion
    for url in (
        "/developer-tools",
        "/developer-tools/yaml",
        "/developer-tools/state",
        "/developer-tools/action",
        "/developer-tools/template",
        "/developer-tools/event",
        "/developer-tools/statistics",
        "/developer-tools/assist",
        "/developer-tools/debug",
    ):
        hass.http.register_redirect(url, f"/config{url}")
```

Code after:
    hass.http.register_redirect("/shopping-list", "/todo")

    # Developer tools moved to config panel in 2026.2
    for url in (
        "/developer-tools",
        "/developer-tools/yaml",
        "/developer-tools/state",
        "/developer-tools/action",
        "/developer-tools/template",
        "/developer-tools/event",
        "/developer-tools/statistics",
        "/developer-tools/assist",
        "/developer-tools/debug",
    ):
        hass.http.register_redirect(url, f"/config{url}")

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

    async_register_built_in_panel(
        hass,
        "light",
        sidebar_icon="mdi:lamps",
        sidebar_title="light",
        sidebar_default_visible=False,
    )
    async_register_built_in_panel(
        hass,
        "security",
        sidebar_icon="mdi:security",
        sidebar_title="security",
        sidebar_default_visible=False,
    )
    async_register_built_in_panel(
        hass,
        "climate",
        sidebar_icon="mdi:home-thermometer",
        sidebar_title="climate",
        sidebar_default_visible=False,
    )
    async_register_built_in_panel(
        hass,
        "home",
        sidebar_icon="mdi:home",
        sidebar_title="home",
        sidebar_default_visible=False,
    )

    async_register_built_in_panel(hass, "profile")

    @callback
    def async_change_listener(