djansen1987 / SAJeSolar

SAJ eSolar Portal Sensors
GNU General Public License v3.0
21 stars 13 forks source link

Unknown error occurred while polling eSolar: 'plantDetail' #83

Closed LAdegeest closed 1 week ago

LAdegeest commented 2 months ago

In the evening, when the sun is gone, I first get the ERROR:

2024-04-11 21:07:05.212 ERROR (MainThread) [custom_components.saj_esolar.sensor] Unknown error occurred while polling eSolar: 'plantDetail'

followed by a long list with the following error:

2024-04-11 21:07:05.221 ERROR (MainThread) [custom_components.saj_esolar.sensor] return data NONE 2024-04-11 21:07:34.922 ERROR (MainThread) [custom_components.saj_esolar.sensor] return data NONE 2024-04-11 21:07:34.923 ERROR (MainThread) [custom_components.saj_esolar.sensor] return data NONE 2024-04-11 21:07:34.923 ERROR (MainThread) [custom_components.saj_esolar.sensor] return data NONE 2024-04-11 21:07:34.924 ERROR (MainThread) [custom_components.saj_esolar.sensor] return data NONE .. .. 2024-04-11 21:12:04.945 ERROR (MainThread) [custom_components.saj_esolar.sensor] return data NONE 2024-04-11 21:12:04.946 ERROR (MainThread) [custom_components.saj_esolar.sensor] return data NONE 2024-04-12 02:50:21.859 ERROR (MainThread) [homeassistant] Error doing job: Task was destroyed but it is pending!

This lasts exactly 5 minutes, then it stops.

Is their a way to avoid this error?

brgds,

djansen1987 commented 1 week ago

Sorry I was on holiday and did not see a notification about the pull request. I have merged the code. Thanks @LAdegeest for your PR!