Use data shown in Energy distribution card

Hi,

Probably a stupid “newbie” question: My Energy dashboard shows by default an “Energy distribution card”.

image

I would like to use the value shown under “home” and run a simple statistic on it (e.g. the average over the last 7 days). When knowing tomorrow’s predicted solar production, it would be easy to determine if and how many kWh I should charge to my battery to prevent buying electricity during peak price hours.

Should be easy, shouldn’t it? But I couldn’t find the entity under “developer tools >> states”.

Thanks in advance,
H.