Change configuration entries

This commit is contained in:
Ludeeus 2021-12-06 08:49:18 +00:00
parent 8f5751d5bb
commit df9d2303dc
3 changed files with 26 additions and 26 deletions

View File

@ -224,7 +224,7 @@ class HaBlueprintOverview extends LitElement {
.narrow=${this.narrow} .narrow=${this.narrow}
back-path="/config" back-path="/config"
.route=${this.route} .route=${this.route}
.tabs=${configSections.automations} .tabs=${configSections.blueprints}
.columns=${this._columns(this.narrow, this.hass.language)} .columns=${this._columns(this.narrow, this.hass.language)}
.data=${this._processedBlueprints(this.blueprints)} .data=${this._processedBlueprints(this.blueprints)}
id="entity_id" id="entity_id"

View File

@ -57,22 +57,22 @@ export const configSections: { [name: string]: PageNavigation[] } = {
{ {
path: "/config/automation", path: "/config/automation",
name: "Automations & Scenes", name: "Automations & Scenes",
description: "Automations, blueprints, scenes and scripts", description: "Automations, helpers, scenes and scripts",
iconPath: mdiRobot, iconPath: mdiRobot,
iconColor: "#518C43", 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, core: true,
}, },
{
path: "/config/blueprint",
name: "Blueprints",
description: "Manage blueprints",
iconPath: mdiPaletteSwatch,
iconColor: "#4D2EA4",
component: "blueprint",
},
{ {
path: "/hassio", path: "/hassio",
name: "Add-ons & Backups (Supervisor)", name: "Add-ons, Backups & Supervisor",
description: "Create backups, check logs or reboot your system", description: "Create backups, check logs or reboot your system",
iconPath: mdiHomeAssistant, iconPath: mdiHomeAssistant,
iconColor: "#4084CD", iconColor: "#4084CD",
@ -155,13 +155,6 @@ export const configSections: { [name: string]: PageNavigation[] } = {
}, },
], ],
automations: [ automations: [
{
component: "blueprint",
path: "/config/blueprint",
translationKey: "ui.panel.config.blueprint.caption",
iconPath: mdiPaletteSwatch,
iconColor: "#518C43",
},
{ {
component: "automation", component: "automation",
path: "/config/automation", path: "/config/automation",
@ -169,6 +162,14 @@ export const configSections: { [name: string]: PageNavigation[] } = {
iconPath: mdiRobot, iconPath: mdiRobot,
iconColor: "#518C43", iconColor: "#518C43",
}, },
{
component: "helpers",
path: "/config/helpers",
translationKey: "ui.panel.config.helpers.caption",
iconPath: mdiTools,
iconColor: "#4D2EA4",
core: true,
},
{ {
component: "scene", component: "scene",
path: "/config/scene", path: "/config/scene",
@ -184,14 +185,13 @@ export const configSections: { [name: string]: PageNavigation[] } = {
iconColor: "#518C43", iconColor: "#518C43",
}, },
], ],
helpers: [ blueprints: [
{ {
component: "helpers", component: "blueprint",
path: "/config/helpers", path: "/config/blueprint",
translationKey: "ui.panel.config.helpers.caption", translationKey: "ui.panel.config.blueprint.caption",
iconPath: mdiTools, iconPath: mdiPaletteSwatch,
iconColor: "#4D2EA4", iconColor: "#518C43",
core: true,
}, },
], ],
tags: [ tags: [

View File

@ -132,7 +132,7 @@ export class HaConfigHelpers extends LitElement {
.narrow=${this.narrow} .narrow=${this.narrow}
back-path="/config" back-path="/config"
.route=${this.route} .route=${this.route}
.tabs=${configSections.helpers} .tabs=${configSections.automations}
.columns=${this._columns(this.narrow, this.hass.language)} .columns=${this._columns(this.narrow, this.hass.language)}
.data=${this._getItems(this._stateItems)} .data=${this._getItems(this._stateItems)}
@row-click=${this._openEditDialog} @row-click=${this._openEditDialog}