hd-heatmap
A reading’s history as a grid, a row per day and a column per hour, each cell coloured from --hd-heatmap-low to --hd-heatmap-high (the accent) by its value; hovering a cell names its time and value. Reads the history again every ten minutes and says so when the reading isn’t recorded. Parts: ::part(cell), ::part(axis).
| Attribute | What it is |
|---|---|
bindrequired | The capability, e.g. {{ settings.meter.cap.meter_power }} (the whole capability, no .value). |
range | How many days back.One of 7d, 14d, 30d. Default 7d. |
layout | A row per day, or the range folded into a typical week (a row per weekday, each hour the average).One of days, week. Default days. |
aggregate | Each hour’s average, highest, or a meter’s use in it (delta).One of avg, max, delta. Default avg. |
unit | Shown after values; the capability’s by default. |
decimals | Digits after the decimal point.Default 1. |
<hd-heatmap bind="{{ cap.measure_temperature }}" range="7d"></hd-heatmap>