mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-28 11:46:42 +00:00
Expand error msg on why yaml defined entities can't be changed from UI (#6689)
This commit is contained in:
parent
d0c86ea2f7
commit
26162815c8
@ -27,6 +27,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";
|
||||
@ -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":
|
||||
|
@ -471,7 +471,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",
|
||||
|
Loading…
x
Reference in New Issue
Block a user