Display entity ID for read-only entities (#7690)

This commit is contained in:
Philip Allgaier 2020-11-17 16:08:47 +01:00 committed by GitHub
parent 4c6f9f0dd8
commit bbe4c95109
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 1 deletions

View File

@ -173,6 +173,8 @@ export class DialogEntityEditor extends LitElement {
<div class="content"> <div class="content">
${this.hass.localize( ${this.hass.localize(
"ui.dialogs.entity_registry.no_unique_id", "ui.dialogs.entity_registry.no_unique_id",
"entity_id",
this._params!.entity_id,
"faq_link", "faq_link",
html`<a html`<a
href="${documentationUrl(this.hass, "/faq/unique_id")}" href="${documentationUrl(this.hass, "/faq/unique_id")}"

View File

@ -598,7 +598,7 @@
"control": "Control", "control": "Control",
"related": "Related", "related": "Related",
"dismiss": "Dismiss", "dismiss": "Dismiss",
"no_unique_id": "This entity does not have a unique ID, therefore its settings cannot be managed from the UI. See the {faq_link} for more detail.", "no_unique_id": "This entity (\"{entity_id}\") does not have a unique ID, therefore its settings cannot be managed from the UI. See the {faq_link} for more detail.",
"faq": "documentation", "faq": "documentation",
"editor": { "editor": {
"name": "Name", "name": "Name",