add active field

This commit is contained in:
John-Paul Compagnone
2024-06-11 14:14:22 -04:00
parent a458adc45f
commit 677db8fd0d
2 changed files with 7 additions and 0 deletions

View File

@@ -34,6 +34,7 @@ class HashBoard:
serial_number: The serial number of the board.
missing: Whether the board is returned from the miners data as a bool.
tuned: Whether the board is tuned as a bool.
active: Whether the board is currently tuning as a bool.
voltage: Current input voltage of the board as a float.
"""
@@ -46,6 +47,7 @@ class HashBoard:
serial_number: str = None
missing: bool = True
tuned: bool = None
active: bool = None
voltage: float = None
def get(self, __key: str, default: Any = None):