From df9d2303dc3568c283d58bd159d5ae6a8c0dc161 Mon Sep 17 00:00:00 2001 From: Ludeeus Date: Mon, 6 Dec 2021 08:49:18 +0000 Subject: [PATCH] Change configuration entries --- .../config/blueprint/ha-blueprint-overview.ts | 2 +- src/panels/config/ha-panel-config.ts | 48 +++++++++---------- .../config/helpers/ha-config-helpers.ts | 2 +- 3 files changed, 26 insertions(+), 26 deletions(-) diff --git a/src/panels/config/blueprint/ha-blueprint-overview.ts b/src/panels/config/blueprint/ha-blueprint-overview.ts index 0e65094222..35fd53a523 100644 --- a/src/panels/config/blueprint/ha-blueprint-overview.ts +++ b/src/panels/config/blueprint/ha-blueprint-overview.ts @@ -224,7 +224,7 @@ class HaBlueprintOverview extends LitElement { .narrow=${this.narrow} back-path="/config" .route=${this.route} - .tabs=${configSections.automations} + .tabs=${configSections.blueprints} .columns=${this._columns(this.narrow, this.hass.language)} .data=${this._processedBlueprints(this.blueprints)} id="entity_id" diff --git a/src/panels/config/ha-panel-config.ts b/src/panels/config/ha-panel-config.ts index 4c23f77086..ce96f409fa 100644 --- a/src/panels/config/ha-panel-config.ts +++ b/src/panels/config/ha-panel-config.ts @@ -57,22 +57,22 @@ export const configSections: { [name: string]: PageNavigation[] } = { { path: "/config/automation", name: "Automations & Scenes", - description: "Automations, blueprints, scenes and scripts", + description: "Automations, helpers, scenes and scripts", iconPath: mdiRobot, iconColor: "#518C43", - components: ["automation", "blueprint", "scene", "script"], - }, - { - path: "/config/helpers", - name: "Automation Helpers", - description: "Elements that help build automations", - iconPath: mdiTools, - iconColor: "#4D2EA4", core: true, }, + { + path: "/config/blueprint", + name: "Blueprints", + description: "Manage blueprints", + iconPath: mdiPaletteSwatch, + iconColor: "#4D2EA4", + component: "blueprint", + }, { path: "/hassio", - name: "Add-ons & Backups (Supervisor)", + name: "Add-ons, Backups & Supervisor", description: "Create backups, check logs or reboot your system", iconPath: mdiHomeAssistant, iconColor: "#4084CD", @@ -155,13 +155,6 @@ export const configSections: { [name: string]: PageNavigation[] } = { }, ], automations: [ - { - component: "blueprint", - path: "/config/blueprint", - translationKey: "ui.panel.config.blueprint.caption", - iconPath: mdiPaletteSwatch, - iconColor: "#518C43", - }, { component: "automation", path: "/config/automation", @@ -169,6 +162,14 @@ export const configSections: { [name: string]: PageNavigation[] } = { iconPath: mdiRobot, iconColor: "#518C43", }, + { + component: "helpers", + path: "/config/helpers", + translationKey: "ui.panel.config.helpers.caption", + iconPath: mdiTools, + iconColor: "#4D2EA4", + core: true, + }, { component: "scene", path: "/config/scene", @@ -184,14 +185,13 @@ export const configSections: { [name: string]: PageNavigation[] } = { iconColor: "#518C43", }, ], - helpers: [ + blueprints: [ { - component: "helpers", - path: "/config/helpers", - translationKey: "ui.panel.config.helpers.caption", - iconPath: mdiTools, - iconColor: "#4D2EA4", - core: true, + component: "blueprint", + path: "/config/blueprint", + translationKey: "ui.panel.config.blueprint.caption", + iconPath: mdiPaletteSwatch, + iconColor: "#518C43", }, ], tags: [ diff --git a/src/panels/config/helpers/ha-config-helpers.ts b/src/panels/config/helpers/ha-config-helpers.ts index d33d73e32b..3a54f1de0a 100644 --- a/src/panels/config/helpers/ha-config-helpers.ts +++ b/src/panels/config/helpers/ha-config-helpers.ts @@ -132,7 +132,7 @@ export class HaConfigHelpers extends LitElement { .narrow=${this.narrow} back-path="/config" .route=${this.route} - .tabs=${configSections.helpers} + .tabs=${configSections.automations} .columns=${this._columns(this.narrow, this.hass.language)} .data=${this._getItems(this._stateItems)} @row-click=${this._openEditDialog}