1
0
mirror of https://github.com/esphome/esphome.git synced 2025-02-15 01:18:16 +00:00

stale comment

This commit is contained in:
J. Nick Koston 2023-11-13 18:31:58 -06:00
parent c0251c2e68
commit c488fe133c
No known key found for this signature in database

View File

@ -1001,8 +1001,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