From 67626d4a06477aa70a578a015ba5c1616ff0f608 Mon Sep 17 00:00:00 2001 From: Zack Barett Date: Thu, 28 Apr 2022 05:39:35 -0500 Subject: [PATCH] add my redirects for new config pages (#12481) --- src/panels/my/ha-panel-my.ts | 29 +++++++++++++++++++++++++---- 1 file changed, 25 insertions(+), 4 deletions(-) diff --git a/src/panels/my/ha-panel-my.ts b/src/panels/my/ha-panel-my.ts index 733c44e606..836d3061f5 100644 --- a/src/panels/my/ha-panel-my.ts +++ b/src/panels/my/ha-panel-my.ts @@ -34,6 +34,9 @@ export const getMyRedirects = (hasSupervisor: boolean): Redirects => ({ developer_statistics: { redirect: "/developer-tools/statistics", }, + server_controls: { + redirect: "/developer-tools/yaml", + }, config: { redirect: "/config/dashboard", }, @@ -129,10 +132,7 @@ export const getMyRedirects = (hasSupervisor: boolean): Redirects => ({ redirect: "/config/users", }, general: { - redirect: "/config/core", - }, - server_controls: { - redirect: "/developer-tools/yaml", + redirect: "/config/general", }, logs: { redirect: "/config/logs", @@ -140,6 +140,27 @@ export const getMyRedirects = (hasSupervisor: boolean): Redirects => ({ info: { redirect: "/config/info", }, + system_health: { + redirect: "/config/system_health", + }, + hardware: { + redirect: "/config/hardware", + }, + storage: { + redirect: "/config/storage", + }, + network: { + redirect: "/config/network", + }, + analytics: { + redirect: "/config/analytics", + }, + updates: { + redirect: "/config/updates", + }, + system_dashboard: { + redirect: "/config/system", + }, customize: { // customize was removed in 2021.12, fallback to dashboard redirect: "/config/dashboard",