mirror of
https://github.com/home-assistant/frontend.git
synced 2025-11-14 13:31:10 +00:00
Add descriptions to automation page sections (#19081)
* Add descriptions to automation page sections * add name key * Update manual-automation-editor.ts * hide explanation if there is content * Update src/translations/en.json * hide when advanced
This commit is contained in:
@@ -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}<br />`
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user