feature: Update get and send config methods for most miners, and add as_inno.

This commit is contained in:
Upstream Data
2023-12-10 10:10:55 -07:00
parent b22b506d55
commit 9ee63cc3ab
11 changed files with 45 additions and 26 deletions

View File

@@ -196,15 +196,9 @@ class LUXMiner(BaseMiner):
return False
async def get_config(self) -> MinerConfig:
"""Gets the config for the miner and sets it as `self.config`.
Returns:
The config from `self.config`.
"""
return self.config
async def send_config(self, config: MinerConfig, user_suffix: str = None) -> None:
"""Configures miner with yaml config."""
pass
async def set_power_limit(self, wattage: int) -> bool: