Add Redirect for Server Controls

This commit is contained in:
Zack 2022-04-27 16:54:17 -05:00
parent 2751f8f33b
commit 191f81d9fe
1 changed files with 2 additions and 0 deletions

View File

@ -345,6 +345,8 @@ class HaPanelConfig extends HassRouterPage {
protected routerOptions: RouterOptions = {
defaultPage: "dashboard",
beforeRender: (page) =>
page === "server_control" ? "../developer-tools/yaml" : undefined,
routes: {
analytics: {
tag: "ha-config-section-analytics",