x-post from Reddit
I’ve got an SNMP sensor that pulls in data transfer from my home router as bytes/s - I would like to graph this on my dashboard with 8h/24h/1w/1mo charts that automatically convert the B/s value into the most reasonable ISO unit (e.g. KiB/s, MiB/s, GiB/s) for display only.
I know I could do some harebrained stuff with template sensors and scripts to add/remove cards from a dashboard but that both duplicates data and has a high probability of desyncing if the data changes before the script has a chance to run or the script gets interrupted for any reason. Has anyone made a graph card for this sort of purpose, or does HA provide functionality to do this auto-ranging conversion for display that I’ve missed?