From 4f51c891d3a455b9443103810233755e954db515 Mon Sep 17 00:00:00 2001 From: Normann Date: Fri, 27 Dec 2024 21:42:50 +0100 Subject: [PATCH] duplicate line removed (#290) --- src/akkudoktoreos/prediction/price_forecast.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/akkudoktoreos/prediction/price_forecast.py b/src/akkudoktoreos/prediction/price_forecast.py index f9d86f6..47e4ce1 100644 --- a/src/akkudoktoreos/prediction/price_forecast.py +++ b/src/akkudoktoreos/prediction/price_forecast.py @@ -117,8 +117,6 @@ class HourlyElectricityPriceForecast: return np.array(date_prices) / (1000.0 * 1000.0) + self.charges - return np.array(date_prices) / (1000.0 * 1000.0) + self.charges - def get_average_price_last_7_days(self, end_date_str: Optional[str] = None) -> np.ndarray: """Calculate the hourly average electricity price for the last 7 days.