deleted unnecessary zeros in device hashrate
This commit is contained in:
parent
df9651b148
commit
0974f5daa4
@ -156,7 +156,7 @@ class DeviceSpeedSensor(DeviceSensor):
|
||||
if device and len(device.speeds) > 0:
|
||||
algorithm = device.speeds[0]
|
||||
self._algorithm = algorithm.get("title")
|
||||
self._speed = algorithm.get("speed")
|
||||
self._speed = float(algorithm.get("speed"))
|
||||
self._speed_unit = algorithm.get("displaySuffix")
|
||||
else:
|
||||
self._algorithm = "Unknown"
|
||||
|
Loading…
Reference in New Issue
Block a user