New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PR #59848 for SMA solar breaks energy dashboard #62723
Comments
sma documentation |
Hey there @kellerza, @rklomp, mind taking a look at this issue as it has been labeled with an integration ( |
Wow. That was quick. Thanks René. |
i have the problem with saj inverter, can this be the solution to for this? |
No. This is specific to the SMA integration. Please open a separate issue. |
so, if i understand correctly this was an issue with home assistant core version. So if i update to the lastest HA core, it should be solved? |
It has been merged to Develop, which means it will be available in the next full release of core. |
I read it's fixed in 2022.2.0 (#62599) |
The problem
PR #59848 changes the states of SMA inverter sensors to 0 rather than
unknown
when the inverter is not supplying power. Which was an excellent change. However, it also changes energy meter totals to 0 when the state becomesunknown
, or maybeunavailable
, like during the weekly reboot my inverter likes to do. This causes massive spikes in the energy dashboard and utility meters.Ideally the power sensors (W) should remain reporting 0 rather than
unknown
as introduced in the PR.However the energy sensors (kWh) for the inverter and SMA meter should not be changed to 0 when
unknown
orunavailable
. This would prevent the issues in the energy dashboard (and utility meters) and no longer require work around fixes like this for every SMA energy sensor used:What version of Home Assistant Core has the issue?
core-2021.12.5
What was the last working version of Home Assistant Core?
core-2021.11.5
What type of installation are you running?
Home Assistant OS
Integration causing the issue
SMA Solar
Link to integration documentation on our website
https://www.home-assistant.io/integrations/sma/
Example YAML snippet
Anything in the logs that might be useful for us?
No response
Additional information
The text was updated successfully, but these errors were encountered: