vincentwolsink / home_assistant_enphase_envoy_installer

This is a HACS custom integration for Enphase Envoys with firmware version 7 and up.
Apache License 2.0
54 stars 10 forks source link

Catch potential errors while awaiting the cancelled task. #86

Closed mnederlof closed 10 months ago

mnederlof commented 10 months ago

According to traces the exceptions occured on the await task.

As i am unable to reproduce, i just added a try/except block, which should catch the error and allow for proper unload.

Potential fix for #81 and #83