bug: fix parsing of tuner algo modes into json.

This commit is contained in:
Upstream Data
2024-04-12 08:47:40 -06:00
parent 04bd03b496
commit 51b0c0456f
3 changed files with 36 additions and 8 deletions

View File

@@ -72,7 +72,11 @@ class TestConfig(unittest.TestCase):
},
"fan_mode": {"mode": "manual", "speed": 90, "minimum_fans": 2},
"temperature": {"target": 70, "hot": None, "danger": 120},
"mining_mode": {"mode": "power_tuning", "power": 3000, "algo": {}},
"mining_mode": {
"mode": "power_tuning",
"power": 3000,
"algo": {"mode": "standard"},
},
"power_scaling": {
"mode": "enabled",
"power_step": 100,