Revert hide automation desc in advanced mode (#19158)

This commit is contained in:
Bram Kragten 2023-12-27 17:46:17 +01:00 committed by GitHub
parent 1a0e3890f4
commit d6684c5806
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -85,8 +85,7 @@ export class HaManualAutomationEditor extends LitElement {
></ha-icon-button>
</a>
</div>
${!this.hass.userData?.showAdvanced &&
!ensureArray(this.config.trigger)?.length
${!ensureArray(this.config.trigger)?.length
? html`<p>
${this.hass.localize(
"ui.panel.config.automation.editor.triggers.description"
@ -125,8 +124,7 @@ export class HaManualAutomationEditor extends LitElement {
></ha-icon-button>
</a>
</div>
${!this.hass.userData?.showAdvanced &&
!ensureArray(this.config.condition)?.length
${!ensureArray(this.config.condition)?.length
? html`<p>
${this.hass.localize(
"ui.panel.config.automation.editor.conditions.description",
@ -165,8 +163,7 @@ export class HaManualAutomationEditor extends LitElement {
</a>
</div>
</div>
${!this.hass.userData?.showAdvanced &&
!ensureArray(this.config.action)?.length
${!ensureArray(this.config.action)?.length
? html`<p>
${this.hass.localize(
"ui.panel.config.automation.editor.actions.description"