diff --git a/src/panels/config/automation/ha-automation-editor.ts b/src/panels/config/automation/ha-automation-editor.ts index 2c6429d642e1..c8ca54c3d7ee 100644 --- a/src/panels/config/automation/ha-automation-editor.ts +++ b/src/panels/config/automation/ha-automation-editor.ts @@ -486,7 +486,7 @@ export class HaAutomationEditor extends KeyboardShortcutMixin(LitElement) { value.valid ? "" : html`${this.hass.localize( - `ui.panel.config.automation.editor.${key}s.header` + `ui.panel.config.automation.editor.${key}s.name` )}: ${value.error}
` ); diff --git a/src/panels/config/script/ha-script-editor.ts b/src/panels/config/script/ha-script-editor.ts index 72bd14c13c31..5466a46a9b50 100644 --- a/src/panels/config/script/ha-script-editor.ts +++ b/src/panels/config/script/ha-script-editor.ts @@ -538,7 +538,7 @@ export class HaScriptEditor extends KeyboardShortcutMixin(LitElement) { value.valid ? "" : html`${this.hass.localize( - `ui.panel.config.automation.editor.${key}s.header` + `ui.panel.config.automation.editor.${key}s.name` )}: ${value.error}
` ); diff --git a/src/translations/en.json b/src/translations/en.json index 696a9cc27ada..a86a2eed884b 100644 --- a/src/translations/en.json +++ b/src/translations/en.json @@ -2442,6 +2442,7 @@ "edit_ui": "Edit in visual editor", "copy_to_clipboard": "Copy to clipboard", "triggers": { + "name": "Triggers", "header": "When", "description": "This list of triggers is what starts your automation. A trigger is a specific event happening in your home, for example: ''When the sun sets''.", "learn_more": "Learn more about triggers", @@ -2637,6 +2638,7 @@ } }, "conditions": { + "name": "Conditions", "header": "And if", "description": "This list of conditions needs to be satisfied for the automation to run. A condition can be satisfied or not at any given time, for example: ''If {user} is home''. You can use building blocks to create more complex conditions.", "learn_more": "Learn more about conditions", @@ -2774,6 +2776,7 @@ } }, "actions": { + "name": "Actions", "header": "Then do", "description": "This list of actions will be performed in sequence when the automation runs. An action usually controls one of your areas, devices, or entities, for example: 'Turn on the lights'. You can use building blocks to create more complex sequences of actions.", "learn_more": "Learn more about actions",