mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-29 12:16:39 +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,
|
getExtendedEntityRegistryEntry,
|
||||||
} from "../../../data/entity_registry";
|
} from "../../../data/entity_registry";
|
||||||
import { haStyleDialog } from "../../../resources/styles";
|
import { haStyleDialog } from "../../../resources/styles";
|
||||||
|
import { documentationUrl } from "../../../util/documentation-url";
|
||||||
import type { HomeAssistant } from "../../../types";
|
import type { HomeAssistant } from "../../../types";
|
||||||
import { PLATFORMS_WITH_SETTINGS_TAB } from "./const";
|
import { PLATFORMS_WITH_SETTINGS_TAB } from "./const";
|
||||||
import "./entity-registry-settings";
|
import "./entity-registry-settings";
|
||||||
@ -170,7 +171,21 @@ export class DialogEntityEditor extends LitElement {
|
|||||||
}
|
}
|
||||||
return html`
|
return html`
|
||||||
<div class="content">
|
<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>
|
</div>
|
||||||
`;
|
`;
|
||||||
case "tab-related":
|
case "tab-related":
|
||||||
|
@ -471,7 +471,8 @@
|
|||||||
"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.",
|
"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": {
|
"editor": {
|
||||||
"name": "Name Override",
|
"name": "Name Override",
|
||||||
"icon": "Icon Override",
|
"icon": "Icon Override",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user