mirror of
https://github.com/home-assistant/frontend.git
synced 2025-11-09 10:59:50 +00:00
Translate message that script/automation is unavailable (#17066)
This commit is contained in:
@@ -315,7 +315,9 @@ export class HaScriptEditor extends KeyboardShortcutMixin(LitElement) {
|
||||
<ha-alert
|
||||
alert-type="error"
|
||||
.title=${stateObj?.state === UNAVAILABLE
|
||||
? "Script unavailable"
|
||||
? this.hass.localize(
|
||||
"ui.panel.config.script.editor.unavailable"
|
||||
)
|
||||
: undefined}
|
||||
>
|
||||
${this._errors || this._validationErrors}
|
||||
|
||||
Reference in New Issue
Block a user