mirror of
https://github.com/esphome/esphome.git
synced 2025-09-03 20:02:22 +01:00
mDNS updates (#4399)
This commit is contained in:
@@ -157,6 +157,11 @@ class DashboardImportDiscovery:
|
||||
return
|
||||
if state_change == ServiceStateChange.Removed:
|
||||
self.import_state.pop(name, None)
|
||||
return
|
||||
|
||||
if state_change == ServiceStateChange.Updated and name not in self.import_state:
|
||||
# Ignore updates for devices that are not in the import state
|
||||
return
|
||||
|
||||
info = zeroconf.get_service_info(service_type, name)
|
||||
_LOGGER.debug("-> resolved info: %s", info)
|
||||
|
Reference in New Issue
Block a user