Skip to content

Commit c4ea26b

Browse files
committed
Remove empty function
1 parent 2417c89 commit c4ea26b

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

source/tibber_api_handler.py

-11
Original file line numberDiff line numberDiff line change
@@ -244,17 +244,6 @@ def _find_energy_rates_till_first_maximum(
244244

245245
return energy_rates_till_maximum
246246

247-
def determine_if_average_of_next_few_prices_higher(self, upcoming_energy_rates: list[EnergyRate]) -> bool:
248-
"""
249-
Determines whether the average of the 2nd and 3rd energy rates is higher than the first one.
250-
251-
Args:
252-
upcoming_energy_rates (list[EnergyRate]): List of upcoming energy rates.
253-
254-
Returns:
255-
bool: True if the average of the 2nd and 3rd rates is higher than the 1st rate, otherwise False.
256-
"""
257-
258247
def get_global_minimum_of_energy_rates(self, energy_rates_till_maximum: list[EnergyRate]) -> EnergyRate:
259248
"""
260249
Determines the global minimum energy rate from a list of energy rates (in this case up until the first maximum).

0 commit comments

Comments
 (0)