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

@@ -52,6 +52,8 @@ export class HaDevicePicker extends SubscribeMixin(LitElement) {
@property() public value?: string;
@property() public helper?: string;
@property() public devices?: DeviceRegistryEntry[];
@property() public areas?: AreaRegistryEntry[];
@@ -269,6 +271,7 @@ export class HaDevicePicker extends SubscribeMixin(LitElement) {
? this.hass.localize("ui.components.device-picker.device")
: this.label}
.value=${this._value}
.helper=${this.helper}
.renderer=${rowRenderer}
.disabled=${this.disabled}
.required=${this.required}