${this._errors ? html`
${this._errors}
` : ""}
${this._mode === "gui"
? html`
${this._config
? html`
${this.scriptEntityId
? html`
`
: ``}
${"use_blueprint" in this._config
? html`
`
: html`
`}
`
: ""}
`
: this._mode === "yaml"
? html`
${!this.narrow
? html`
${this.hass.localize(
"ui.panel.config.script.picker.run_script"
)}
`
: ``}
${this.hass.localize(
"ui.panel.config.automation.editor.copy_to_clipboard"
)}
`
: ``}