- ${this._dialogParams.hacs.localize(
- this._repository.version_or_commit === "commit"
- ? "dialog_download.will_download_commit"
- : "dialog_download.will_download_version",
- {
- ref: html`
- ${this._selectedVersion || this._repository.available_version}
- `,
- },
- )}
-
'${installPath}'`,
- })}
- ${this._repository.category === "plugin" &&
- this._dialogParams.hacs.info.lovelace_mode !== "storage"
- ? html`
- ${this._dialogParams.hacs.localize(`dialog_download.lovelace_instruction`)}
-
- url: ${generateFrontendResourceURL({ repository: this._repository })}
- type: module
-
- `
- : nothing}
- ${this._repository.category === "integration"
- ? html`${this._dialogParams.hacs.localize("dialog_download.restart")}
` - : nothing} -${this._dialogParams!.hacs.localize("dialog_download.release_warning")}
- ${this._releases === undefined - ? this._dialogParams.hacs.localize("dialog_download.fetching_releases") - : this._releases.length === 0 - ? this._dialogParams.hacs.localize("dialog_download.no_releases") - : html`