diff --git a/TheengsGateway/ble_gateway.py b/TheengsGateway/ble_gateway.py index e7e2907a..1bb5c8b6 100644 --- a/TheengsGateway/ble_gateway.py +++ b/TheengsGateway/ble_gateway.py @@ -537,11 +537,6 @@ def publish_json( decoded: bool, # noqa: FBT001 ) -> None: """Publish JSON data to MQTT.""" - # Update tracker last received time - if data_json["id"] in self.discovered_trackers: - self.discovered_trackers[data_json["id"]] = round(time()) - logger.debug("Discovered Trackers @publish_json: %s", self.discovered_trackers) - # Remove "track" if PUBLISH_ADVDATA is 0 if not self.configuration["publish_advdata"] and "track" in data_json: data_json.pop("track", None)