From 98e22b539cba69f679ccbd5956ec9625f64779ca Mon Sep 17 00:00:00 2001 From: salewis38 <46199139+salewis38@users.noreply.github.com> Date: Sat, 9 Sep 2023 16:36:10 +0100 Subject: [PATCH] Removed redundant code --- palm.py | 9 --------- 1 file changed, 9 deletions(-) diff --git a/palm.py b/palm.py index 8408137..ea97789 100644 --- a/palm.py +++ b/palm.py @@ -603,15 +603,6 @@ def balance_loads(): if stgs.pg.t_now_mins == t_to_mins(stgs.GE.boost_finish): inverter.set_mode("set_soc_winter") # Set inverter for next timed charge period - if stgs.pg.month in stgs.GE.winter and stgs.GE.boost_start != "": - if stgs.pg.t_now_mins == t_to_mins(stgs.GE.boost_start): - logger.info("Enabling afternoon battery boost") - inverter.set_mode("charge_now") - if stgs.pg.t_now_mins == t_to_mins(stgs.GE.boost_finish): - inverter.set_mode("set_soc_winter") - - - if stgs.pg.once_mode is False: # Update carbon intensity every 15 mins as background task if stgs.CarbonIntensity.enable is True and stgs.pg.loop_counter % 15 == 14: