From d6684c58066249b33395a54f5a68cf3841a53349 Mon Sep 17 00:00:00 2001 From: Bram Kragten Date: Wed, 27 Dec 2023 17:46:17 +0100 Subject: [PATCH] Revert hide automation desc in advanced mode (#19158) --- src/panels/config/automation/manual-automation-editor.ts | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/src/panels/config/automation/manual-automation-editor.ts b/src/panels/config/automation/manual-automation-editor.ts index 811ea2c3fd..042fca491a 100644 --- a/src/panels/config/automation/manual-automation-editor.ts +++ b/src/panels/config/automation/manual-automation-editor.ts @@ -85,8 +85,7 @@ export class HaManualAutomationEditor extends LitElement { > - ${!this.hass.userData?.showAdvanced && - !ensureArray(this.config.trigger)?.length + ${!ensureArray(this.config.trigger)?.length ? html`

${this.hass.localize( "ui.panel.config.automation.editor.triggers.description" @@ -125,8 +124,7 @@ export class HaManualAutomationEditor extends LitElement { > - ${!this.hass.userData?.showAdvanced && - !ensureArray(this.config.condition)?.length + ${!ensureArray(this.config.condition)?.length ? html`

${this.hass.localize( "ui.panel.config.automation.editor.conditions.description", @@ -165,8 +163,7 @@ export class HaManualAutomationEditor extends LitElement { - ${!this.hass.userData?.showAdvanced && - !ensureArray(this.config.action)?.length + ${!ensureArray(this.config.action)?.length ? html`

${this.hass.localize( "ui.panel.config.automation.editor.actions.description"