Fix/UI consumption energy display
When having a consumption meter (type: CONSUMPTION_METERED) sending ActiveConsumptionEnergy values, they weren't shown in the consumption widget below the chart area for historic values.
We identified the issue that the consumption area was filtering for ActiveProductionEnergy from a consumption meter instead of ActiveConsumptionEnergy.
This MR solves this issue. We also added a test with example data to validate the fix.
@lukasrgr FYI, there is a general discussion about this topic in the Community Forum: https://community.openems.io/t/change-energy-channel-assignment-based-on-meter-type/1603
This PR has been automatically marked as stale due to inactivity. It will be closed in 7 days if no further activity occurs.
Closing this PR due to inactivity.