diff --git a/src/components/ha-selector/ha-selector-target.ts b/src/components/ha-selector/ha-selector-target.ts index aab5e8662a..9faeaa21b0 100644 --- a/src/components/ha-selector/ha-selector-target.ts +++ b/src/components/ha-selector/ha-selector-target.ts @@ -81,15 +81,16 @@ export class HaTargetSelector extends LitElement { return nothing; } - return html``; + return html` ${this.label ? html`` : nothing} + `; } private _filterEntities = (entity: HassEntity): boolean => {