-
Notifications
You must be signed in to change notification settings - Fork 68
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
Update __init__.py #114
Update __init__.py #114
Conversation
Fix for binsentsu#110
Changed all |
I manually apply the change on the Battery SOC, otherwise the component cannot start when the SOC is 0.
About the other sensors, energy is probably only 0 when you have a new inverter/meter/battery. If 0 is detected in that case it should be ignored I guess. |
@treynaer I don't own a battery myself so can't test it, but I agree that 0 should be an acceptable value for battery_Soc. With the meter values validated as >= 0, there were sometimes 'false' drops to 0 in the readings. Do you see these also for the battery Soc field with this patch applied? |
It's difficult to say because the battery is at this moment empty most of the time. What I however get a lot is the following exception after allowing 0% SOC. Its good that this doesn't show op.
And this one:
|
Fix for #110