Allow manually entering entity IDs in service target entity picker (#8820)

This commit is contained in:
Philip Allgaier 2021-04-06 14:18:55 +02:00 committed by GitHub
parent 85eaa219c6
commit 7aae55cde7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

View File

@ -100,7 +100,7 @@ export class HaDevicePicker extends SubscribeMixin(LitElement) {
public excludeDomains?: string[]; public excludeDomains?: string[];
/** /**
* Show only deviced with entities of these device classes. * Show only devices with entities of these device classes.
* @type {Array} * @type {Array}
* @attr include-device-classes * @attr include-device-classes
*/ */

View File

@ -350,6 +350,7 @@ export class HaTargetPicker extends SubscribeMixin(LitElement) {
.includeDeviceClasses=${this.includeDeviceClasses} .includeDeviceClasses=${this.includeDeviceClasses}
.includeDomains=${this.includeDomains} .includeDomains=${this.includeDomains}
@value-changed=${this._targetPicked} @value-changed=${this._targetPicked}
allow-custom-entity
></ha-entity-picker>`; ></ha-entity-picker>`;
} }
return html``; return html``;