better descriptions

This commit is contained in:
John-Paul Compagnone
2024-05-13 17:00:02 -04:00
parent 92e9f7bc08
commit c7520d98e0
2 changed files with 3 additions and 3 deletions

View File

@@ -50,7 +50,7 @@ class MinerData:
temperature_avg: The average temperature across the boards. Calculated automatically. temperature_avg: The average temperature across the boards. Calculated automatically.
env_temp: The environment temps as a float. env_temp: The environment temps as a float.
wattage: Current power draw of the miner as an int. wattage: Current power draw of the miner as an int.
voltage: Current voltage draw of the miner as an float. voltage: Current output voltage of the PSU as an float.
wattage_limit: Power limit of the miner as an int. wattage_limit: Power limit of the miner as an int.
fans: A list of fans on the miner with their speeds. fans: A list of fans on the miner with their speeds.
fan_psu: The speed of the PSU on the fan if the miner collects it. fan_psu: The speed of the PSU on the fan if the miner collects it.

View File

@@ -250,10 +250,10 @@ class MinerProtocol(Protocol):
return await self._get_wattage() return await self._get_wattage()
async def get_voltage(self) -> Optional[float]: async def get_voltage(self) -> Optional[float]:
"""Get voltage from the miner as a float. """Get output voltage of the PSU as a float.
Returns: Returns:
Voltage of the miner as an float. Output voltage of the PSU as an float.
""" """
return await self._get_voltage() return await self._get_voltage()