Fix mdns resolution
This commit is contained in:
@@ -2,6 +2,11 @@ FROM homeassistant/home-assistant:2025.2.0
|
|||||||
|
|
||||||
#COPY src/ /usr/src/homeassistant/homeassistant/
|
#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
|
# Install HACS
|
||||||
RUN mkdir -p /usr/local/config/custom_components && \
|
RUN mkdir -p /usr/local/config/custom_components && \
|
||||||
touch /usr/local/config/home-assistant.log && \
|
touch /usr/local/config/home-assistant.log && \
|
||||||
|
|||||||
Reference in New Issue
Block a user