- By default the entities of a device are in the same area as the
- device. If you change the area of this entity, it will no longer
- follow the area of the device.
+ ${this.hass.localize(
+ "ui.dialogs.entity_registry.editor.area_note"
+ )}
${this._areaId
? html`Follow device area${this.hass.localize(
+ "ui.dialogs.entity_registry.editor.follow_device_area"
+ )}`
: this._device
? html`Change device area${this.hass.localize(
+ "ui.dialogs.entity_registry.editor.change_device_area"
+ )}`
: ""}
`
@@ -377,11 +389,14 @@ export class EntityRegistrySettings extends SubscribeMixin(LitElement) {
margin-right: 16px;
}
.row {
- margin-top: 8px;
+ margin: 8px 0;
color: var(--primary-text-color);
display: flex;
align-items: center;
}
+ p {
+ margin: 8px 0;
+ }
`,
];
}
diff --git a/src/translations/en.json b/src/translations/en.json
index c54528db73..5bfdedcabe 100755
--- a/src/translations/en.json
+++ b/src/translations/en.json
@@ -625,6 +625,8 @@
"dismiss": "Dismiss",
"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",
+ "info_customize": "You can overwrite some attributes in the {customize_link} section.",
+ "customize_link": "entity customizations",
"editor": {
"name": "Name",
"icon": "Icon",
@@ -641,7 +643,12 @@
"delete": "Delete",
"confirm_delete": "Are you sure you want to delete this entry?",
"update": "Update",
- "note": "Note: This might not work yet with all integrations."
+ "note": "Note: This might not work yet with all integrations.",
+ "advanced": "Advanced settings",
+ "area": "Set entity area only",
+ "area_note": "By default the entities of a device are in the same area as the device. If you change the area of this entity, it will no longer follow the area of the device.",
+ "follow_device_area": "Follow device area",
+ "change_device_area": "Change device area"
}
},
"helper_settings": {