Skip to content

Commit

Permalink
Log warning when spot prices are unavailable (openhab#16648)
Browse files Browse the repository at this point in the history
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
Signed-off-by: Patrik Gfeller <patrik.gfeller@proton.me>
  • Loading branch information
jlaur authored and pgfeller committed Sep 29, 2024
1 parent 0fb3854 commit e7d469d
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -239,6 +239,7 @@ private void refreshElectricityPrices() {

if (isLinked(CHANNEL_SPOT_PRICE)) {
if (cacheManager.getNumberOfFutureSpotPrices() < 13) {
logger.warn("Spot prices are not yet available, retry scheduled (see details in Thing properties)");
retryPolicy = RetryPolicyFactory.whenExpectedSpotPriceDataMissing(DAILY_REFRESH_TIME_CET,
NORD_POOL_TIMEZONE);
} else {
Expand Down

0 comments on commit e7d469d

Please sign in to comment.