Make energy-sensor showing total daily use

Hey! So my heating pump, a Daikin Caldo XRH gave me 9 entities in HA. In Daikins app I can monitor it’s energy consumption but there’s no really detailed overview.
But in HA I have “sensor.daikinap42587_heat_energy_consumption”
And that one seems to be the momentary energy-consumption when I use heat.

But what is the best graph card to use? I tried mini-graph-card and I think I got it to show me the energy consumption per hour:
energii
And it seems like it reports the ammount of kWh per hour?

The code i use was this:

type: custom:mini-graph-card
entities:
  - sensor.daikinap42587_heat_energy_consumption
name: Värmepump Förbrukning Värme
hours_to_show: 168
points_per_hour: 1

And thats cool to see per hour. But I also would want to see consumption per day.
How would I do that?
I tried:

type: custom:mini-graph-card
entities:
  - entity: sensor.daikinap42587_heat_energy_consumption
name: Energy consumption
hours_to_show: 168
aggregate_func: max
group_by: date
show:
  graph: bar

But that only give me this and it doesnt feel right:


According to the Daiking App “day” it says it atm should be 9.2 kWh.

Am I doing something wrong?

Is there an energy sensor that just keeps counting up?

If so you can feed it to the Utility meter with a daily cycle:

2 Likes

Hm, not sure


It does say “total increasing” on the todays totan consumption.

According to my pumps own app last days energy use for my Heat Pump was 22,1kWh.
And if I count each hour in this chart: starting from the first count at 01:00:00 since that is the first hour of the day. And the count each hour (24) to the last one at 00:00:00 I get 22.1 kWh.

What do I need to show this daily use in my HA? I tried Apex Chart but it doesnt count that way, so it doesnt seem to work. Tried put 24h and “sum” but it showed my wrong so it probably counted 00:00 to 00:00 or something and that would give wrong total sum in my case here.

Any ideas? The Heat Pump app only shows yesterdays daily use, it doesnt give me several days history back so I would love to have that in HA showing my daily use for some weeks back.

Is there another card that would give me this option?

I’m amazed this isn’t a basic standard feature in HA.