Cannot select "daily yield" in Energy configuration from SAJ platform

Hello!

My Energy production configuration does not let me select today_yield for my SAJ integration and the dropdown only contains total_yield.

How can I unlock the selection of the correct sensor?

The problem with total yield is that first hour of each day looks like this:

Which is invalid because it assumes that total yield was produced in the first hour of running. Using daily yield would solve it as it would naturally start at 0.

Possible breaking change in this commit Remove `last_reset` attribute and set state class to `total_increasin… · home-assistant/core@9c7ea78 · GitHub

I also found this guide: Sensor Entity | Home Assistant Developer Docs :slight_smile:

The sensor’s value may reset to 0, and its value can only increase: state class total_increasing. Examples: energy consumption aligned with a billing cycle, e.g. monthly, an energy meter resetting to 0 every time it’s disconnected

Which suggests that today_yield also classifies as “total_increasing” but the integration only sets it for total_yield. Am I understanding this correctly?

I can prepare a PR with a fix if my reasoning is correct.

1 Like

i’m having the same issue, isn’t this solved yet?

Anyone got an update on this issue?
Im experiencing the same problem in my energy dashboard.