From c31d68aa8d57dc9897b6e19b59c78f3550e2b9da Mon Sep 17 00:00:00 2001 From: Filip Pytloun Date: Thu, 6 Feb 2025 22:28:00 +0100 Subject: [PATCH] Fix mdns resolution --- Dockerfile | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Dockerfile b/Dockerfile index 46a2e86..be635e2 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,6 +2,11 @@ FROM homeassistant/home-assistant:2025.2.0 #COPY src/ /usr/src/homeassistant/homeassistant/ +# Fix https://github.com/home-assistant/core/pull/137492 +RUN cd /usr/src/homeassistant/homeassistant && \ + sed -i s,AsyncMDNSResolver,AsyncDualMDNSResolver,g helpers/aiohttp_client.py && \ + pip install aiohttp-asyncmdnsresolver==0.1.0 + # Install HACS RUN mkdir -p /usr/local/config/custom_components && \ touch /usr/local/config/home-assistant.log && \