Add redirect from shopping list to todo (#102894)

This commit is contained in:
Bram Kragten 2023-10-27 13:55:22 +02:00 committed by GitHub
parent c77a3facf5
commit 3f56ca49c6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -388,6 +388,9 @@ async def async_setup(hass: HomeAssistant, config: ConfigType) -> bool:
# Can be removed in 2023
hass.http.register_redirect("/config/server_control", "/developer-tools/yaml")
# Shopping list panel was replaced by todo panel in 2023.11
hass.http.register_redirect("/shopping-list", "/todo")
hass.http.app.router.register_resource(IndexView(repo_path, hass))
async_register_built_in_panel(hass, "profile")