mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-25 18:26:35 +00:00
Revert hide automation desc in advanced mode (#19158)
This commit is contained in:
parent
1a0e3890f4
commit
d6684c5806
@ -85,8 +85,7 @@ export class HaManualAutomationEditor extends LitElement {
|
|||||||
></ha-icon-button>
|
></ha-icon-button>
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
${!this.hass.userData?.showAdvanced &&
|
${!ensureArray(this.config.trigger)?.length
|
||||||
!ensureArray(this.config.trigger)?.length
|
|
||||||
? html`<p>
|
? html`<p>
|
||||||
${this.hass.localize(
|
${this.hass.localize(
|
||||||
"ui.panel.config.automation.editor.triggers.description"
|
"ui.panel.config.automation.editor.triggers.description"
|
||||||
@ -125,8 +124,7 @@ export class HaManualAutomationEditor extends LitElement {
|
|||||||
></ha-icon-button>
|
></ha-icon-button>
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
${!this.hass.userData?.showAdvanced &&
|
${!ensureArray(this.config.condition)?.length
|
||||||
!ensureArray(this.config.condition)?.length
|
|
||||||
? html`<p>
|
? html`<p>
|
||||||
${this.hass.localize(
|
${this.hass.localize(
|
||||||
"ui.panel.config.automation.editor.conditions.description",
|
"ui.panel.config.automation.editor.conditions.description",
|
||||||
@ -165,8 +163,7 @@ export class HaManualAutomationEditor extends LitElement {
|
|||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
${!this.hass.userData?.showAdvanced &&
|
${!ensureArray(this.config.action)?.length
|
||||||
!ensureArray(this.config.action)?.length
|
|
||||||
? html`<p>
|
? html`<p>
|
||||||
${this.hass.localize(
|
${this.hass.localize(
|
||||||
"ui.panel.config.automation.editor.actions.description"
|
"ui.panel.config.automation.editor.actions.description"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user