From c4d96e4e2cab1796c3735ad5601aa027c2f2f3a0 Mon Sep 17 00:00:00 2001 From: Tobias Kraft <111107925+reserve85@users.noreply.github.com> Date: Tue, 17 Sep 2024 06:09:58 +0200 Subject: [PATCH] fix workflow --- HoymilesZeroExport.py | 8 -------- 1 file changed, 8 deletions(-) diff --git a/HoymilesZeroExport.py b/HoymilesZeroExport.py index d99b2b1..8c893fc 100644 --- a/HoymilesZeroExport.py +++ b/HoymilesZeroExport.py @@ -530,14 +530,6 @@ def GetMinWattFromAllBatteryInverters(): minWatt = minWatt + GetMinWatt(i) return minWatt - - minWatt = 0 - for i in range(INVERTER_COUNT): - if (not AVAILABLE[i]) or (not HOY_BATTERY_MODE[i]) or (not HOY_BATTERY_GOOD_VOLTAGE[i]) or (CONFIG_PROVIDER.get_battery_priority(i) <= pPriority): - continue - minWatt = minWatt + GetMinWatt(i) - return minWatt - def GetMinWattFromAllBatteryInvertersWithSamePriority(pPriority): minWatt = 0 for i in range(INVERTER_COUNT):