Use the entityId in the legacy shopping cart (#20083)

This commit is contained in:
Simon Lamon 2024-03-15 11:20:42 +01:00 committed by GitHub
parent fa6d8d0891
commit 097cba5c60
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -469,7 +469,7 @@ export class HuiTodoListCard extends LitElement implements LovelaceCard {
const item = this._getItem(ev.currentTarget.itemId);
showTodoItemEditDialog(this, {
entity: this._config!.entity!,
entity: this._entityId!,
item,
});
}