1
0
mirror of https://github.com/esphome/esphome.git synced 2025-03-21 10:08:15 +00:00

Merge branch 'mdns_cache' into integration

This commit is contained in:
J. Nick Koston 2023-11-13 18:32:26 -06:00
commit a14d07dab0
No known key found for this signature in database

View File

@ -989,8 +989,6 @@ class MDNSStatus:
async def async_resolve_host(self, host_name: str) -> str | None:
"""Resolve a host name to an address in a thread-safe manner."""
if aiozc := self.aiozc:
# Currently we do not do any I/O and only
# return the cached result (timeout=0)
return await aiozc.async_resolve_host(host_name)
return None