mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-27 11:16:35 +00:00
Small automation editor fixes (#19160)
This commit is contained in:
parent
b180a587bf
commit
b11563d618
@ -328,7 +328,7 @@ class HaAutomationPicker extends LitElement {
|
|||||||
>
|
>
|
||||||
</ha-button-related-filter-menu>
|
</ha-button-related-filter-menu>
|
||||||
${!this.automations.length
|
${!this.automations.length
|
||||||
? html` <div class="empty" slot="empty">
|
? html`<div class="empty" slot="empty">
|
||||||
<ha-svg-icon .path=${mdiRobotHappy}></ha-svg-icon>
|
<ha-svg-icon .path=${mdiRobotHappy}></ha-svg-icon>
|
||||||
<h1>
|
<h1>
|
||||||
${this.hass.localize(
|
${this.hass.localize(
|
||||||
@ -338,7 +338,9 @@ class HaAutomationPicker extends LitElement {
|
|||||||
<p>
|
<p>
|
||||||
${this.hass.localize(
|
${this.hass.localize(
|
||||||
"ui.panel.config.automation.picker.empty_text_1"
|
"ui.panel.config.automation.picker.empty_text_1"
|
||||||
)}<br />
|
)}
|
||||||
|
</p>
|
||||||
|
<p>
|
||||||
${this.hass.localize(
|
${this.hass.localize(
|
||||||
"ui.panel.config.automation.picker.empty_text_2"
|
"ui.panel.config.automation.picker.empty_text_2"
|
||||||
)}
|
)}
|
||||||
@ -349,9 +351,7 @@ class HaAutomationPicker extends LitElement {
|
|||||||
rel="noreferrer"
|
rel="noreferrer"
|
||||||
>
|
>
|
||||||
<ha-button>
|
<ha-button>
|
||||||
${this.hass.localize(
|
${this.hass.localize("ui.panel.config.common.learn_more")}
|
||||||
"ui.panel.config.automation.picker.learn_more"
|
|
||||||
)}
|
|
||||||
</ha-button>
|
</ha-button>
|
||||||
</a>
|
</a>
|
||||||
</div>`
|
</div>`
|
||||||
@ -513,7 +513,9 @@ class HaAutomationPicker extends LitElement {
|
|||||||
target="_blank"
|
target="_blank"
|
||||||
rel="noreferrer"
|
rel="noreferrer"
|
||||||
>
|
>
|
||||||
${this.hass.localize("ui.panel.config.common.learn_more")}
|
${this.hass.localize(
|
||||||
|
"ui.panel.config.automation.picker.learn_more"
|
||||||
|
)}
|
||||||
</a>
|
</a>
|
||||||
</p>
|
</p>
|
||||||
`,
|
`,
|
||||||
|
@ -265,9 +265,7 @@ class HaSceneDashboard extends LitElement {
|
|||||||
rel="noreferrer"
|
rel="noreferrer"
|
||||||
>
|
>
|
||||||
<ha-button>
|
<ha-button>
|
||||||
${this.hass.localize(
|
${this.hass.localize("ui.panel.config.common.learn_more")}
|
||||||
"ui.panel.config.scene.picker.learn_more"
|
|
||||||
)}
|
|
||||||
</ha-button>
|
</ha-button>
|
||||||
</a>
|
</a>
|
||||||
</div>`
|
</div>`
|
||||||
@ -370,7 +368,7 @@ class HaSceneDashboard extends LitElement {
|
|||||||
target="_blank"
|
target="_blank"
|
||||||
rel="noreferrer"
|
rel="noreferrer"
|
||||||
>
|
>
|
||||||
${this.hass.localize("ui.panel.config.common.learn_more")}
|
${this.hass.localize("ui.panel.config.scene.picker.learn_more")}
|
||||||
</a>
|
</a>
|
||||||
</p>
|
</p>
|
||||||
`,
|
`,
|
||||||
|
@ -294,9 +294,7 @@ class HaScriptPicker extends LitElement {
|
|||||||
rel="noreferrer"
|
rel="noreferrer"
|
||||||
>
|
>
|
||||||
<ha-button>
|
<ha-button>
|
||||||
${this.hass.localize(
|
${this.hass.localize("ui.panel.config.common.learn_more")}
|
||||||
"ui.panel.config.script.picker.learn_more"
|
|
||||||
)}
|
|
||||||
</ha-button>
|
</ha-button>
|
||||||
</a>
|
</a>
|
||||||
</div>`
|
</div>`
|
||||||
@ -420,7 +418,7 @@ class HaScriptPicker extends LitElement {
|
|||||||
target="_blank"
|
target="_blank"
|
||||||
rel="noreferrer"
|
rel="noreferrer"
|
||||||
>
|
>
|
||||||
${this.hass.localize("ui.panel.config.common.learn_more")}
|
${this.hass.localize("ui.panel.config.script.picker.learn_more")}
|
||||||
</a>
|
</a>
|
||||||
</p>
|
</p>
|
||||||
`,
|
`,
|
||||||
|
@ -2759,7 +2759,7 @@
|
|||||||
"preset_mode": "Preset mode"
|
"preset_mode": "Preset mode"
|
||||||
},
|
},
|
||||||
"description": {
|
"description": {
|
||||||
"picker": "If something happens to a device. Great way to start."
|
"picker": "If a device is in a certain state. Great way to start."
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"not": {
|
"not": {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user