Add button filter to energy devices sortable (#23881)

Add filter to energy devices sortable
This commit is contained in:
karwosts 2025-01-25 09:42:05 -08:00 committed by GitHub
parent 20a67cf73c
commit f8f152f118
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -82,7 +82,11 @@ export class EnergyDeviceSettings extends LitElement {
"ui.panel.config.energy.device_consumption.devices" "ui.panel.config.energy.device_consumption.devices"
)} )}
</h3> </h3>
<ha-sortable handle-selector=".row" @item-moved=${this._itemMoved}> <ha-sortable
handle-selector=".row"
@item-moved=${this._itemMoved}
filter="ha-icon-button"
>
<div class="devices"> <div class="devices">
${repeat( ${repeat(
this.preferences.device_consumption, this.preferences.device_consumption,