Energy setup / dashboard question / Solar production wrong visualised

I own a solar system and still struggle to get the solar production correctly visualised in the Energy integration.
Today my solar system produced so far 0,9 kWh:


In the above history can be seen that the daily_yield yesterday was approx 8,7 kWh and at 00:00 this is reset to zero.
In the Energy integration only this sensor is used as solar panel entity:
image

I suspect when I select ‘DAY’ (current day) in the Energy integration to see my production of today: 0,9 kWh. For some reason the production of yesterday is taken in account:

Does anyone know to get rid of this ‘error’?

Thanks in advance!

I found out I had to use the total_yield instead of the daily_yield:
image

The magic result: