Skip to content

Commit

Permalink
Get future power price
Browse files Browse the repository at this point in the history
  • Loading branch information
GJSBRT committed Mar 10, 2024
1 parent 0161102 commit 58d04af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion power_prices/power_prices.go
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ func New(
}

func (pp *PowerPrices) addPricesOfSource(source PowerPriceSource) error {
prices, err := source.GetPricesKwH(time.Now())
prices, err := source.GetPricesKwH(time.Now().Add(24 * time.Hour))
if err != nil {
return err
}
Expand Down

0 comments on commit 58d04af

Please sign in to comment.