Minor Changes
- #370
ef34736Thanks @flixlix! - Flows are now worked out the same way on both cards, in the order the Home Assistant energy dashboard uses, so the same readings always draw the same lines. Flows never go negative and never carry more than a source produces or a sink takes: for example, solar can no longer appear to export more than it generates. When the grid is hidden or during a power outage, solar and battery flows are recalculated instead of losing the part that went to the grid, and Energy Flow Card Plus now shows battery flows during an outage too. With a home entity usingoverride_state, the card still shows its reading, while the lines and the home circle stay balanced.
Power Flow Card Plus readings whose flows change:Readings Before Now Import 200 W, export 600 W, solar 500 W, battery discharging 150 W and charging 200 W Solar → grid 600 W, grid → battery 200 W, battery → grid 0 W, grid → home 0 W Solar → grid 450 W, solar → battery 50 W, grid → battery 150 W, battery → grid 150 W, grid → home 50 W Grid/battery exchange below the larger of the grid and battery zero tolerances Dropped Shown unless below the node's own tolerance Outage with the battery charging Grid → battery from the live grid reading Grid → battery from the generator
Patch Changes
- #370
2634c20Thanks @flixlix! - Fix: the home circle no longer breaks (NaN segments) when nothing is being consumed. Energy Flow Card Plus now honoursinvert_stateon single grid and battery entities, reads non-fossil and grid values from the selected energy period instead of live sensor states, and individual devices with a numericcalculate_flow_rateanimate consistently in every position. - #296
f8bed9eThanks @flixlix! - Fix: individual devices with negative readings are no longer hidden when display_zero is off - #368
7cc309dThanks @flixlix! - Built against the same Lit and Home Assistant websocket versions as the current Home Assistant frontend. - #370
35fae9fThanks @flixlix! - Fix: withclickable_entitieson, nodes can be reached with Tab and opened with Enter, which never worked before. Holding a node's value no longer runs its hold action twice (atogglehold action used to cancel itself out). - #384
71c1005Thanks @flixlix! - With the new flow rate model, dot speed now grows in step with power: twice the power looks about twice as fast. Before, the time per dot shrank in step with power, so most of the range crawled and only values close tomax_expected_powerlooked fast.min_expected_powerstill gives the slowest dots (max_flow_rate) andmax_expected_powerthe fastest (min_flow_rate). In between, dots now move faster than before: with the defaults, a flow at half ofmax_expected_powertakes 1.3 s per dot instead of 3.4 s. Values belowmin_expected_powerno longer move slower thanmax_flow_rate. The old flow rate model (use_new_flow_rate_model: false) is unchanged.
calculate_flow_rateset to a number now does what the documentation says: a line moves one dot every that many seconds. Before, the number was only used when no flow rate could be calculated. - #382
002654fThanks @flixlix! - Fix:unit_of_measurement,unit_white_spaceanddecimalsset on grid, solar or battery are now applied to their values. A custom unit shows the reading as is, without converting it to k/M, so the card can show non-electrical flows such as water in L/min.
The grid, solar and battery pages of the visual editor now offer these three fields. - #368
7cc309dThanks @flixlix! - The non-fossil node now appears based on the grid's actual non-fossil share instead of a miscalculated value. - #381
f8dbfb4Thanks @flixlix! - Fix: the non-fossil node is now hidden while grid import is within the grid'sdisplay_zero_tolerance, the same as when the grid reads exactly 0 (unlessfossil_fuel_percentage.display_zerois on). - #379
ef910ccThanks @flixlix! - Cards no longer recalculate and redraw when an entity they don't show changes in Home Assistant, which lowers CPU and battery use on dashboards, especially on phones and tablets. Numbers are formatted with reused formatters, and the flow cards no longer measure their width on every update. - #383
a9f14aaThanks @flixlix! - Individual devices are now sorted by their value, largest first, whensort_individual_devicesis not set, as the documentation has always said. Until now an unset option left them in config order. Devices are compared in watts (or watt-hours), so a3.8 kWcharger now ranks above a20 Wlight.
If you have not set this option, your devices may move to a different slot, and on a card that shows only some of them, a different set may be visible. To keep your configured order, addsort_individual_devices: falseto the card. - #368
7cc309dThanks @flixlix! - Secondary-info templates for individual devices and the non-fossil node are now unsubscribed when the card is removed, and cards with more than four individual devices show the correct template for each one.