I have a total increasing sensor of downloaded/uploaded size for my internet usage (native unit is bytes).
I would like to visualize that and being able to select different views like week, month and year.
Basically pretty much like the energy dashboard for power usage, but for other sensor types (that have nothing to do with energy) like data usage.
Is there any way to do this currently (maybe using a custom card)?
Currently I use the statistics card but it only shows the transferred amount for a fixed time as number. I would like to have a graph and being able to switch between week, month and year.
There’s a new feature in 2025.2 where you can link a statistics-graph-card with an energy-date-picker. So you can make dashboards similar to energy with graphs and the picker can select the different time range.
It’s all YAML to set it up but it’s documented on the statistics-graph-card page (see energy_date_selection)
But sadly, I can’t get it to work even though I have 2025.2.3 installed. When I add it, it resets all other settings for the graph to default and there’s a warning that the key energy_date_selection isn’t supported.
there’s a warning that the key energy_date_selection isn’t supported
If you’re talking about that it isn’t supported for the visual editor, that’s correct. But that doesn’t indicate a problem, it just means you have to use yaml mode.