hd-flow
One flow of an hd-sankey, written inside it (often in a {% for %}); draws nothing itself. A flow of 0 or less is left out.
| Attribute | What it is |
|---|---|
fromrequired | Where it comes from, e.g. Solar. |
torequired | Where it goes, e.g. Heat pump. |
valuerequired | How much. Or a live capability of any device, followed: {{ settings.x.cap.measure_power }}. |
color | A theme colour name or #rrggbb for the node it comes from. |
<hd-sankey unit="W" decimals="0"> <hd-flow from="Solar" to="Home" value="1800" color="lit"></hd-flow> <hd-flow from="Solar" to="Battery" value="600"></hd-flow> <hd-flow from="Grid" to="Home" value="350"></hd-flow></hd-sankey>