1
0
mirror of https://github.com/home-assistant/frontend.git synced 2025-12-20 02:38:53 +00:00

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

View File

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