Skip to content

Commit

Permalink
Fix missing lovelace_instruction note (#557)
Browse files Browse the repository at this point in the history
  • Loading branch information
ludeeus authored Feb 6, 2022
1 parent e3f614a commit 72fd057
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/components/dialogs/hacs-download-dialog.ts
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ export class HacsDonwloadDialog extends HacsDialogBase {
})}
${this._repository.category === "plugin" && this.hacs.status.lovelace_mode !== "storage"
? html`
<p>${this.hacs.localize(`repository.lovelace_instruction`)}</p>
<p>${this.hacs.localize(`dialog_download.lovelace_instruction`)}</p>
<pre>
url: ${generateLovelaceURL({ repository: this._repository, skipTag: true })}
type: module
Expand Down
3 changes: 2 additions & 1 deletion src/localize/languages/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,8 @@
"select_version": "Select version",
"show_beta": "Show beta versions",
"restart": "Remember that you need to restart Home Assistant before changes to integrations (custom_components) are applied.",
"note_downloaded": "When downloaded this will be located in {location}"
"note_downloaded": "When downloaded this will be located in {location}",
"lovelace_instruction": "After the download completes, since you are not using Lovelace in storage mode you need to manually add the resource with these settings:"
},
"dialog_info": {
"version_installed": "Version downloaded",
Expand Down
3 changes: 3 additions & 0 deletions src/panels/hacs-entry-panel.ts
Original file line number Diff line number Diff line change
Expand Up @@ -324,6 +324,9 @@ export class HacsEntryPanel extends LitElement {
max-width: 40px;
border-radius: 50%;
}
paper-icon-item {
cursor: pointer;
}
`,
];
}
Expand Down

0 comments on commit 72fd057

Please sign in to comment.