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 && \