Fix combo box inside dialog (#12805)

This commit is contained in:
Bram Kragten
2022-05-26 22:28:05 +02:00
committed by GitHub
parent 41c61a2895
commit a72fd19b73
5 changed files with 132 additions and 80 deletions

View File

@@ -31,6 +31,7 @@ const rowRenderer: ComboBoxLitRenderer<HassEntityWithCachedName> = (item) =>
<span>${item.friendly_name}</span>
<span slot="secondary">${item.entity_id}</span>
</mwc-list-item>`;
@customElement("ha-entity-picker")
export class HaEntityPicker extends LitElement {
@property({ attribute: false }) public hass!: HomeAssistant;