diff --git a/src/batcontrol/logic/default.py b/src/batcontrol/logic/default.py index 7c3beb0..0271346 100644 --- a/src/batcontrol/logic/default.py +++ b/src/batcontrol/logic/default.py @@ -262,7 +262,7 @@ def __is_discharge_allowed(self, calc_input: CalculationInput, future_price = prices[slot] # !!! different formula compared to detect relevant slots if future_price > current_price: - higher_price_slots.append(slot ) + higher_price_slots.append(slot) higher_price_slots.sort() higher_price_slots.reverse()