1
0
mirror of https://github.com/esphome/esphome.git synced 2025-09-02 11:22:24 +01:00

Bump zeroconf timeout to 3000 (#6270)

This commit is contained in:
Jesse Hills
2024-02-22 14:26:00 +13:00
committed by GitHub
parent 127cbde2a2
commit a3fa1e6c52

View File

@@ -110,7 +110,7 @@ class DashboardImportDiscovery:
self, zeroconf: Zeroconf, info: AsyncServiceInfo, service_type: str, name: str self, zeroconf: Zeroconf, info: AsyncServiceInfo, service_type: str, name: str
) -> None: ) -> None:
"""Process a service info.""" """Process a service info."""
if await info.async_request(zeroconf, timeout=5): if await info.async_request(zeroconf, timeout=3000):
self._process_service_info(name, info) self._process_service_info(name, info)
def _process_service_info(self, name: str, info: ServiceInfo) -> None: def _process_service_info(self, name: str, info: ServiceInfo) -> None: