Home Assistant integration doesn't currently support Pi-hole v6

Probably some HA developer (or user) will create a new integration.

I never used HA, but you can take a look in the example from our documentation:

Or search the Discourse forum to find similar topic, like this one: