From 6e85021f6b28135d21b0c59d25299a636fb3dea3 Mon Sep 17 00:00:00 2001 From: Jacob Laursen Date: Sun, 16 Jul 2023 13:05:16 +0200 Subject: [PATCH] Update tariff filter for Nord Energi Net (#15244) Fixes #15243 Signed-off-by: Jacob Laursen --- .../internal/api/DatahubTariffFilterFactory.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bundles/org.openhab.binding.energidataservice/src/main/java/org/openhab/binding/energidataservice/internal/api/DatahubTariffFilterFactory.java b/bundles/org.openhab.binding.energidataservice/src/main/java/org/openhab/binding/energidataservice/internal/api/DatahubTariffFilterFactory.java index 2809c1592..f20c46873 100644 --- a/bundles/org.openhab.binding.energidataservice/src/main/java/org/openhab/binding/energidataservice/internal/api/DatahubTariffFilterFactory.java +++ b/bundles/org.openhab.binding.energidataservice/src/main/java/org/openhab/binding/energidataservice/internal/api/DatahubTariffFilterFactory.java @@ -116,7 +116,8 @@ public class DatahubTariffFilterFactory { return new DatahubTariffFilter(Set.of(ChargeTypeCode.of("94TR_C_ET")), Set.of(NOTE_NET_TARIFF_C_HOUR), DateQueryParameter.of(DateQueryParameterType.START_OF_DAY, Duration.ofDays(-1))); case GLN_NORD_ENERGI_NET: - return new DatahubTariffFilter(Set.of(ChargeTypeCode.of("TA031U200")), Set.of(NOTE_NET_TARIFF_C)); + return new DatahubTariffFilter(Set.of(ChargeTypeCode.of("TAC")), Set.of(NOTE_NET_TARIFF_C), + DateQueryParameter.of(DateQueryParameterType.START_OF_DAY, Duration.ofDays(-1))); case GLN_NORDVESTJYSK_ELFORSYNING_NOE_NET: return new DatahubTariffFilter(Set.of(ChargeTypeCode.of("Net C")), Set.of(NOTE_NET_TARIFF_C)); case GLN_RADIUS: