mirror of
https://github.com/home-assistant/frontend.git
synced 2025-12-20 10:48:44 +00:00
Fix battery to grid connection in Sankey card (#26973)
This commit is contained in:
@@ -225,7 +225,7 @@ class HuiEnergySankeyCard
|
|||||||
if (consumption.total.battery_to_grid > 0) {
|
if (consumption.total.battery_to_grid > 0) {
|
||||||
links.push({
|
links.push({
|
||||||
source: "battery",
|
source: "battery",
|
||||||
target: "grid",
|
target: "grid_return",
|
||||||
value: consumption.total.battery_to_grid,
|
value: consumption.total.battery_to_grid,
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user