mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-24 09:46:36 +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>
|
||||
${!this.automations.length
|
||||
? html` <div class="empty" slot="empty">
|
||||
? html`<div class="empty" slot="empty">
|
||||
<ha-svg-icon .path=${mdiRobotHappy}></ha-svg-icon>
|
||||
<h1>
|
||||
${this.hass.localize(
|
||||
@ -338,7 +338,9 @@ class HaAutomationPicker extends LitElement {
|
||||
<p>
|
||||
${this.hass.localize(
|
||||
"ui.panel.config.automation.picker.empty_text_1"
|
||||
)}<br />
|
||||
)}
|
||||
</p>
|
||||
<p>
|
||||
${this.hass.localize(
|
||||
"ui.panel.config.automation.picker.empty_text_2"
|
||||
)}
|
||||
@ -349,9 +351,7 @@ class HaAutomationPicker extends LitElement {
|
||||
rel="noreferrer"
|
||||
>
|
||||
<ha-button>
|
||||
${this.hass.localize(
|
||||
"ui.panel.config.automation.picker.learn_more"
|
||||
)}
|
||||
${this.hass.localize("ui.panel.config.common.learn_more")}
|
||||
</ha-button>
|
||||
</a>
|
||||
</div>`
|
||||
@ -513,7 +513,9 @@ class HaAutomationPicker extends LitElement {
|
||||
target="_blank"
|
||||
rel="noreferrer"
|
||||
>
|
||||
${this.hass.localize("ui.panel.config.common.learn_more")}
|
||||
${this.hass.localize(
|
||||
"ui.panel.config.automation.picker.learn_more"
|
||||
)}
|
||||
</a>
|
||||
</p>
|
||||
`,
|
||||
|
@ -265,9 +265,7 @@ class HaSceneDashboard extends LitElement {
|
||||
rel="noreferrer"
|
||||
>
|
||||
<ha-button>
|
||||
${this.hass.localize(
|
||||
"ui.panel.config.scene.picker.learn_more"
|
||||
)}
|
||||
${this.hass.localize("ui.panel.config.common.learn_more")}
|
||||
</ha-button>
|
||||
</a>
|
||||
</div>`
|
||||
@ -370,7 +368,7 @@ class HaSceneDashboard extends LitElement {
|
||||
target="_blank"
|
||||
rel="noreferrer"
|
||||
>
|
||||
${this.hass.localize("ui.panel.config.common.learn_more")}
|
||||
${this.hass.localize("ui.panel.config.scene.picker.learn_more")}
|
||||
</a>
|
||||
</p>
|
||||
`,
|
||||
|
@ -294,9 +294,7 @@ class HaScriptPicker extends LitElement {
|
||||
rel="noreferrer"
|
||||
>
|
||||
<ha-button>
|
||||
${this.hass.localize(
|
||||
"ui.panel.config.script.picker.learn_more"
|
||||
)}
|
||||
${this.hass.localize("ui.panel.config.common.learn_more")}
|
||||
</ha-button>
|
||||
</a>
|
||||
</div>`
|
||||
@ -420,7 +418,7 @@ class HaScriptPicker extends LitElement {
|
||||
target="_blank"
|
||||
rel="noreferrer"
|
||||
>
|
||||
${this.hass.localize("ui.panel.config.common.learn_more")}
|
||||
${this.hass.localize("ui.panel.config.script.picker.learn_more")}
|
||||
</a>
|
||||
</p>
|
||||
`,
|
||||
|
@ -2759,7 +2759,7 @@
|
||||
"preset_mode": "Preset mode"
|
||||
},
|
||||
"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": {
|
||||
|
Loading…
x
Reference in New Issue
Block a user