Skip to content

v0.4.0 — Performance ratios, mobile fixes

Choose a tag to compare

@maccer28 maccer28 released this 05 Sep 16:55
· 29 commits to main since this release

Mobile tables were broken

Headers rendered as TODAYYESTERDAY and values as kWh1500.77 on a phone. Numeric cells had zero horizontal padding on both sides, so columns butted together. Fixed, and the unit moved from every cell into the column header — worth ~4 characters per column, which is the difference between fitting and overflowing. The scroll container now fades at its edges so it is obvious there is more to the right.

Seven performance ratios

On Financial: round-trip efficiency, effective all-in unit rate, self-sufficiency, peak import share, standing charge share, equivalent full cycles, and payback remaining.

Each guards its own divisor — a ratio with nothing to divide by goes unavailable rather than reporting 0% or 100%. Each carries a one-line reading hint, because a ratio without a reference point is just a number.

System cost and battery capacity are input_number helpers, so they can be corrected without editing the package.

Includes the v0.3.2 direction-caption fix and v0.3.3's header alignment and ribbon contrast. module_url is ?v=0.4.0; update via HACS and re-copy the package.