mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-24 09:46:36 +00:00
Update text on empty automation/script/scene pages (#19095)
This commit is contained in:
parent
dcfe9617b3
commit
53839ab7b1
@ -549,6 +549,7 @@ class HaAutomationPicker extends LitElement {
|
||||
.empty {
|
||||
--paper-font-headline_-_font-size: 28px;
|
||||
--mdc-icon-size: 80px;
|
||||
max-width: 500px;
|
||||
}
|
||||
`,
|
||||
];
|
||||
|
@ -249,7 +249,7 @@ class HaSceneDashboard extends LitElement {
|
||||
>
|
||||
</ha-button-related-filter-menu>
|
||||
${!this.scenes.length
|
||||
? html` <div class="empty" slot="empty">
|
||||
? html`<div class="empty" slot="empty">
|
||||
<ha-svg-icon .path=${mdiPalette}></ha-svg-icon>
|
||||
<h1>
|
||||
${this.hass.localize(
|
||||
@ -387,6 +387,7 @@ class HaSceneDashboard extends LitElement {
|
||||
.empty {
|
||||
--paper-font-headline_-_font-size: 28px;
|
||||
--mdc-icon-size: 80px;
|
||||
max-width: 500px;
|
||||
}
|
||||
`,
|
||||
];
|
||||
|
@ -509,6 +509,7 @@ class HaScriptPicker extends LitElement {
|
||||
.empty {
|
||||
--paper-font-headline_-_font-size: 28px;
|
||||
--mdc-icon-size: 80px;
|
||||
max-width: 500px;
|
||||
}
|
||||
`,
|
||||
];
|
||||
|
@ -2362,8 +2362,8 @@
|
||||
"state": "State"
|
||||
},
|
||||
"empty_header": "Start automating",
|
||||
"empty_text_1": "The automation editor is an easy way of creating and editing automations.",
|
||||
"empty_text_2": "Even if you're new to home automation."
|
||||
"empty_text_1": "Automations make Home Assistant automatically respond to things happening in and around your home.",
|
||||
"empty_text_2": "Automations connect triggers to actions in a ''when trigger then action'' fashion with optional conditions. For example: ''When the sun sets and if Alice is home, then turn on the lights''."
|
||||
},
|
||||
"dialog_new": {
|
||||
"header": "Create automation",
|
||||
@ -3088,7 +3088,7 @@
|
||||
"delete": "[%key:ui::common::delete%]",
|
||||
"duplicate": "[%key:ui::common::duplicate%]",
|
||||
"empty_header": "Create your first script",
|
||||
"empty_text": "Scripts allow you to perform a sequence of actions."
|
||||
"empty_text": "A script is a sequence of actions that can be run from a dashboard, an automation, or be triggered by voice. For example, a ''Wake-up routine''' script that gradually turns on the light in the bedroom and opens the blinds after a delay."
|
||||
},
|
||||
"dialog_new": {
|
||||
"header": "Create script",
|
||||
@ -3190,7 +3190,7 @@
|
||||
"last_activated": "Last activated"
|
||||
},
|
||||
"empty_header": "Create your first scene",
|
||||
"empty_text": "Scenes are an easy way to store and replicate the state of devices."
|
||||
"empty_text": "Scenes capture entities' states, so you can re-experience the same scene later on. For example, a ''Watching TV'' scene that dims the living room lights, sets a warm white color and turns on the TV."
|
||||
},
|
||||
"editor": {
|
||||
"default_name": "New scene",
|
||||
|
Loading…
x
Reference in New Issue
Block a user