Add the state of charge in kWh to storage system widgets
Currently the state of charge (SOC) of storage systems is only shown in %. This change adds the SOC in kWh to the flat-widget displayed on the dashboard and the modal-widget that pops up when clicking on the storage system.
To do this, the percentagebar-widget needed to be extended to support a secondary parameter, which is displayed in parenthesis behind the percentage value.
Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:
Additional details and impacted files
@@ Coverage Diff @@
## develop #2781 +/- ##
=============================================
+ Coverage 55.91% 58.26% +2.36%
Complexity 8052 8052
=============================================
Files 2079 1823 -256
Lines 87955 81592 -6363
Branches 6502 5542 -960
=============================================
- Hits 49170 47531 -1639
+ Misses 37094 32447 -4647
+ Partials 1691 1614 -77
🚀 New features to boost your workflow:
- ❄ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
- 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.
Thanks for the contribution.
The feature was implemented this way purposely by FENECON. In fact we are trying to put less information on the (first pages of) the UI and not more. For most people this information might be too detailed; i.e. your smartphone does not show you the Wh of the battery as well.
I believe we should discuss this in the Community. Can you please start a thread with screenshots and link it here?