Add ePIC send_config and config.as_epic (#101)

* feature: Add epic send_config.

* feature: remove UID from epic config.

* feature: add default for temp configs in epic.
This commit is contained in:
UpstreamData
2024-01-26 12:47:19 -07:00
committed by GitHub
parent 96aa346f00
commit 6c14902484
9 changed files with 163 additions and 18 deletions

View File

@@ -110,10 +110,9 @@ class MinerConfig:
def as_epic(self, user_suffix: str = None) -> dict:
return {
**self.fan_mode.as_epic(),
**self.temperature.as_epic(),
**merge_dicts(self.fan_mode.as_epic(), self.temperature.as_epic()),
**self.mining_mode.as_epic(),
**self.pools.as_epic(),
**self.pools.as_epic(user_suffix=user_suffix),
**self.power_scaling.as_epic(),
}