From 13b908235817bf8ae814fd535a8d6d01065cb38a Mon Sep 17 00:00:00 2001 From: Joost Lekkerkerker Date: Mon, 25 Sep 2023 15:38:47 +0200 Subject: [PATCH] Add label to location selector (#17402) Co-authored-by: Bram Kragten --- src/components/ha-selector/ha-selector-location.ts | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/components/ha-selector/ha-selector-location.ts b/src/components/ha-selector/ha-selector-location.ts index b4b0c6524bf7..bf08b181e4e0 100644 --- a/src/components/ha-selector/ha-selector-location.ts +++ b/src/components/ha-selector/ha-selector-location.ts @@ -26,6 +26,7 @@ export class HaLocationSelector extends LitElement { protected render() { return html` +

${this.label ? this.label : ""}