Closed ngulden closed 2 months ago
There's really nothing I can do about that, as the error gets thrown when the inverter responds with failed instead of success. But that's also everything we get to know from the inverter. Sorry, but this error doesn't originate from a bug in the code. Here are my suggestions on why the error appears:
Sorry again!
Thanks for your response and the information.
However, I think the integration should handle the exception in a way that it doesn't throw a traceback to the logs. When you know, why it happens, you can handle it properly. This gives me as a user a better feeling, because I then know that the error can happen and the software handles it properly.
Leaving it as it is, is no good solution for me. Please reopen it and add a proper try..except block in your code.
BTW, my inverter works properly.
I see the following traceback in the logs of home assistant:
I run Home Assistant 2024.4.1 in a Docker compose setup on a raspberry pi 4. I have version 3.1.1 of APSystems-EZ1-API-HomeAssistant through HACS installed. The integration works though. The traceback shows up in the logs every 20 minutes.