Fix select entity change (#25310)

This commit is contained in:
Wendelin 2025-05-05 11:13:50 +02:00 committed by GitHub
parent 44f5f7bdb5
commit 8f422357f1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 1 additions and 1 deletions

View File

@ -163,6 +163,7 @@ export class HuiGenericEntityRow extends LitElement {
@touchend=${stopPropagation} @touchend=${stopPropagation}
@keydown=${stopPropagation} @keydown=${stopPropagation}
@click=${stopPropagation} @click=${stopPropagation}
@action=${stopPropagation}
></slot>`} ></slot>`}
</div> </div>
`; `;

View File

@ -93,7 +93,6 @@ class HuiSelectEntityRow extends LitElement implements LovelaceRow {
`; `;
private _handleAction(ev): void { private _handleAction(ev): void {
ev.stopPropagation();
const stateObj = this.hass!.states[this._config!.entity] as SelectEntity; const stateObj = this.hass!.states[this._config!.entity] as SelectEntity;
const option = ev.target.value; const option = ev.target.value;