mirror of
https://github.com/openhab/openhab-addons.git
synced 2025-01-10 15:11:59 +01:00
Log warning when spot prices are unavailable (#16648)
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk> Signed-off-by: Ciprian Pascu <contact@ciprianpascu.ro>
This commit is contained in:
parent
3d74224025
commit
366dd052b1
@ -239,6 +239,7 @@ public class EnergiDataServiceHandler extends BaseThingHandler {
|
||||
|
||||
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 {
|
||||
|
Loading…
Reference in New Issue
Block a user