From 8f5751d5bbb502ac7102c7724b2374556ec92190 Mon Sep 17 00:00:00 2001 From: Philip Allgaier Date: Sun, 5 Dec 2021 19:09:06 +0100 Subject: [PATCH] Use correct label in area card editor (#10799) --- .../lovelace/editor/config-elements/hui-area-card-editor.ts | 4 +++- src/translations/en.json | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/panels/lovelace/editor/config-elements/hui-area-card-editor.ts b/src/panels/lovelace/editor/config-elements/hui-area-card-editor.ts index e23c463746..b624018a5a 100644 --- a/src/panels/lovelace/editor/config-elements/hui-area-card-editor.ts +++ b/src/panels/lovelace/editor/config-elements/hui-area-card-editor.ts @@ -59,7 +59,9 @@ export class HuiAreaCardEditor .value=${this._area} .placeholder=${this._area} .configValue=${"area"} - .label=${this.hass.localize("ui.dialogs.entity_registry.editor.area")} + .label=${this.hass.localize( + "ui.panel.lovelace.editor.card.area.name" + )} @value-changed=${this._valueChanged} >