ESPHome and Prometheus

Hi,

I updated the version of ESPHome on my Wemos D1 Mini boards from version 1.17 to 2022.4. I am using Prometheus to scrape the metrics endpoint of my ESP8266 Wemos boards. I have the web server enabled with authentication required as well. With the old version of ESPHome 1.17, only the webserver required auth to be able to access the page and the /metrics endpoint used by Prometheus was unsecured and could be scraped without needing authentication.
I noticed that with the update to the latest version 2022.4 that I am using, even the /metrics endpoint requires authentication as well. Now this normally wouldnt be a problem except that I think the docs for ESPHome stating the auth as Basic is incorrect and it actually uses Digest authentication. Prometheus doesnt seem to support Digest authentication when scraping its targets, only Basic and Bearer token I believe. Has anyone else come across this issue and know of a way to solve it? I would be OK the prometheus /metrics endpoint remained unauthenticated but I dont know how to do that with the latest version of ESPHome.

Thanks,