Energy dashboard Electricity graph legend shows inconsistent items

Hello,
I have added FoxESS modbus entitities for Grid, Solar and Battery, Display name is not yet set, so the default display names “FoxxESS - Modbus…” should be shown.

The energy dashboard shows some default items “solar, grid, battery”, which I do not know where they come from.

  • Grid is basically without any data, as “FoxESS - Modbus Feed-in Today” and “FoxESS - Modbus Grid Consumption Today” are displayed
  • “FoxESS - Modbus Solar Generation Total” is somehow integrated in “Solar”
  • “FoxESS - Modbus Battery Discharge Today” is somehow integrated in “Battery”, while “FoxESS - Modbus Battery Charge Today” is still displayed.

How can I get rid of the empty “Grid”, and the “Battery”, which in fact is “Battery Discharge”?

Solar is ok as this reflects the the Solar production properly.

So in total I try to get a legend “Solar”, “Battery Charge”, “Battery Discharge”, “Grid Consumption”, “Grid Feed-in”, to have a consistent naming.