I am no entirely sure that the issue is with python-hole.
On some installations python-hole returns "[hole.v6] Successfully authenticated with Pi-hole" after a call with an incorrect password. This currently breaks HomeAssistant's API-determining logic until home-assistant/core#150413 is merged.
Here are a notably number of users experiencing the issue
home-assistant/core#149769,
home-assistant/core#150151