I tried the utility meter hint from Total Average Daily Power Consumption - #6 by tom_l but that does not work, because the sensor entity itself has no state - as the data is only imported into the statistics.
Is there anything I could do to still get the daily average?