#Expose energy dashboard values as sensors.

1 messages · Page 1 of 1 (latest)

void haven
#

Is it possible in the future to add sensors that expose the total energy consumption etc values we see in the dashboard for daily/weekly etc so we can use these values to create our own card without using utility meters?

#

For example the total consumed energy is a calculation of daily energy import + daily solar production - daily energy export.
The problem is if i create a utility meter that resets daily on energy export but it didnt export anything yet the value becomes 'unknown'.
it would be way easier if home assistant just exposes sensors that already do these calculations and use those in the energy dashboard also.

acoustic token
#

The trouble is in your "etc". Where to stop? Hour? Day? Week? Month? Last hour? Last year? Last 3 months? Running quarter? Running year?

And you can all do it yourself. You can grab values with the recorder.get_statistics action. And make the sensors you like.

echo walrus
#

The problem is if i create a utility meter that resets daily on energy export but it didnt export anything yet the value becomes 'unknown'.

That surprises me, doesn't sound like the right behavior.

I wouldn't expect energy to want to add these extra sensors automatically, it would just duplicate a lot of what already exists.

void haven
#

Like what would it duplicate? these values don't exist at all. These sensors can be hidden by default also.