Speedtest not showing correct speeds

I would recommend using the official SpeedTest CLI Binary.
Here is a Community Thread with a couple of options for how incorporate this into HA