Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 16 additions & 1 deletion src/panels/config/entities/dialog-entity-editor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ import {
getExtendedEntityRegistryEntry,
} from "../../../data/entity_registry";
import { haStyleDialog } from "../../../resources/styles";
import { documentationUrl } from "../../../util/documentation-url";
import type { HomeAssistant } from "../../../types";
import { PLATFORMS_WITH_SETTINGS_TAB } from "./const";
import "./entity-registry-settings";
Expand Down Expand Up @@ -170,7 +171,21 @@ export class DialogEntityEditor extends LitElement {
}
return html`
<div class="content">
${this.hass.localize("ui.dialogs.entity_registry.no_unique_id")}
${this.hass.localize(
"ui.dialogs.entity_registry.no_unique_id",
"faq_link",
html`<a
href="${documentationUrl(
this.hass,
"/faq/unique_id"
)}"
target="_blank"
rel="noreferrer"
>${this.hass.localize(
"ui.dialogs.entity_registry.faq"
)}</a
>`
)}
</div>
`;
case "tab-related":
Expand Down
3 changes: 2 additions & 1 deletion src/translations/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -429,7 +429,8 @@
"control": "Control",
"related": "Related",
"dismiss": "Dismiss",
"no_unique_id": "This entity does not have a unique ID, therefore its settings cannot be managed from the UI.",
"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.",
"faq": "documentation",
"editor": {
"name": "Name Override",
"icon": "Icon Override",
Expand Down