Fix index value for grid return in power sankey card (#28281)

This commit is contained in:
Petar Petrov 2025-12-02 14:47:15 +02:00 committed by GitHub
parent a41a7e822a
commit 17a976af67
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -235,7 +235,7 @@ class HuiPowerSankeyCard
color: computedStyle
.getPropertyValue("--energy-grid-return-color")
.trim(),
index: 2,
index: 1,
});
if (powerData.battery_to_grid > 0) {
links.push({