Add helpers to all selectors (#12230)

This commit is contained in:
Paulus Schoutsen
2022-04-05 13:26:52 -07:00
committed by GitHub
parent 358f91c2a9
commit 59595aabde
35 changed files with 239 additions and 75 deletions

View File

@@ -48,6 +48,8 @@ export class HaEntityPicker extends LitElement {
@property() public value?: string;
@property() public helper?: string;
/**
* Show entities from specific domains.
* @type {Array}
@@ -304,6 +306,7 @@ export class HaEntityPicker extends LitElement {
.label=${this.label === undefined
? this.hass.localize("ui.components.entity.entity-picker.entity")
: this.label}
.helper=${this.helper}
.allowCustomValue=${this.allowCustomEntity}
.filteredItems=${this._states}
.renderer=${rowRenderer}