Direct access to statistical/historical data

If I want to have an own dashboard with the e.g. energy consumption of several sensors for today or this month, I have to create utility_meter sensors. Same for graphs, etc, e.g.distribution today.

image

So from a sensor

sensor.foobar_energy_counter

with

state_class: total_increasing
unit_of_measurement: Wh
device_class: energy

I have already four sensors for daily, weekly, monthly and yearly.

energy_counter_foobar_aktor_daily:
  source: sensor.foobar_energy_counter
  cycle: daily
etc.

But HA can select and display it without such utility_meter sensors.

As this integrations is already number one in loading time and I have already >150 of them (growing) and can only have fix time-ranges with this, I wonder, if it would not be more than beneficial to have direct access to such data, e.g. in a kind of virtual entities, like.

sensor.foobar_energy_counter:daily
sensor.foobar_energy_counter:weeky
sensor.foobar_energy_counter:monthly
sensor.foobar_energy_counter:yearly
sensor.foobar_energy_counter:timeframe[01.06.2022-10.06.2022]

So I can directly use them as entities in dashboards, graphs, etc.And reducing the overhead of the utility_sensors directly with that.