I have noticed that HA does not reload my external Python library when restarted.
I manually have to first uninstall the library using pip uninstall and then restart HA.
Of course I could alternatively delete the whole integration which depends on thie library, and then re-install the integration again, but that's very cumbersome.
Question: Is there a designed way to force reload an external library?
(Obviously I've tried the reload button for the integration, but it only reloads the integration and not the library)
This odd behavior makes it quite impractical to maintain an external library, so I find it unbelievable that this is by design (!)
I cannot be the first person ever to depend on an external library when building a HA integration.