Use list item for statistic picker (#25228)

* Use list item for statistic picker

* Use item interface

* Fix icon
This commit is contained in:
Paul Bottein
2025-04-30 10:40:56 +02:00
committed by GitHub
parent ded5ade0f2
commit 53a0b311de
8 changed files with 807 additions and 393 deletions

View File

@@ -76,10 +76,10 @@ export class HaEntitySelector extends LitElement {
}
return html`
${this.label ? html`<label>${this.label}</label>` : ""}
<ha-entities-picker
.hass=${this.hass}
.value=${this.value}
.label=${this.label}
.helper=${this.helper}
.includeEntities=${this.selector.entity.include_entities}
.excludeEntities=${this.selector.entity.exclude_entities}