From 11b422ac845af9ff70be71733df810dd4a79eebe Mon Sep 17 00:00:00 2001 From: G Johansson Date: Sat, 5 Jul 2025 16:31:35 +0000 Subject: [PATCH 1/3] Add price indices service to Nord Pool --- source/_integrations/nordpool.markdown | 50 ++++++++++++++++++++++++++ 1 file changed, 50 insertions(+) diff --git a/source/_integrations/nordpool.markdown b/source/_integrations/nordpool.markdown index 067b90314b1d..99edf9771abc 100644 --- a/source/_integrations/nordpool.markdown +++ b/source/_integrations/nordpool.markdown @@ -164,6 +164,56 @@ data: {% endraw %} +### Get price indices for date + +The integration can also provide price indices for any date with published prices. Use the "Get price indices for date" action to retrieve pricing information with a custom resolution time. + +The areas, currency and resolution parameters are optional. If omitted, the values configured in the integration will be used and for resolution it will default to 60 minutes. + +{% configuration_basic %} +Nord Pool configuration entry: + description: Select the Nord Pool configuration entry to target. +Date: + description: Pick the date to fetch prices for (see note about possible dates below). +Areas: + description: Select one market area to create output for. If omitted it will use the areas from the configuration entry. +Currency: + description: Currency to display prices in. EUR is the base currency in Nord Pool prices. If omitted it will use the currency from the configuration entry. +Resolution: + description: Resolution time for price indices. +{% endconfiguration_basic %} + +{% note %} + +The public API only allows us to see past pricing information for up to 2 months. + +Although Nord Pool operates in the CET/CEST timezone, all data is returned in UTC. Depending on how the data is consumed or manipulated, you may need to consider this. + +Tomorrow's prices are typically released around 13:00 CET/CEST, and trying to get them before that time will generate an error that needs to be considered in such a case. + +{% endnote %} + +{% tip %} +You can get your `config_entry` by using actions within the [developer tools](/docs/tools/dev-tools/): use one of the Nord Pool actions and view the YAML. +{% endtip %} + +#### Example action with data + +{% raw %} + +```yaml +action: nordpool.get_prices_for_date +data: + config_entry: 1234567890a + date: "2024-11-10" + areas: + - SE3 + - SE4 + currency: SEK +``` + +{% endraw %} + ## Examples A template sensor to add VAT and fixed cost is useful to get the actual energy cost in the energy dashboard. From 65fdf69f34750dad8c826818adb34492428dc10b Mon Sep 17 00:00:00 2001 From: G Johansson Date: Sat, 5 Jul 2025 18:46:19 +0200 Subject: [PATCH 2/3] Update source/_integrations/nordpool.markdown Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --- source/_integrations/nordpool.markdown | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/_integrations/nordpool.markdown b/source/_integrations/nordpool.markdown index 99edf9771abc..f5ac6fa7b545 100644 --- a/source/_integrations/nordpool.markdown +++ b/source/_integrations/nordpool.markdown @@ -168,7 +168,7 @@ data: The integration can also provide price indices for any date with published prices. Use the "Get price indices for date" action to retrieve pricing information with a custom resolution time. -The areas, currency and resolution parameters are optional. If omitted, the values configured in the integration will be used and for resolution it will default to 60 minutes. +The areas, currency, and resolution parameters are optional. If omitted, the values configured in the integration will be used and for resolution it will default to 60 minutes. {% configuration_basic %} Nord Pool configuration entry: From 8a025d6295b7945d71c9b568f2a4499b8c28405b Mon Sep 17 00:00:00 2001 From: c0ffeeca7 <38767475+c0ffeeca7@users.noreply.github.com> Date: Mon, 7 Jul 2025 08:03:49 +0200 Subject: [PATCH 3/3] tiny tweak --- source/_integrations/nordpool.markdown | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/_integrations/nordpool.markdown b/source/_integrations/nordpool.markdown index f5ac6fa7b545..54424aaf9b51 100644 --- a/source/_integrations/nordpool.markdown +++ b/source/_integrations/nordpool.markdown @@ -178,7 +178,7 @@ Date: Areas: description: Select one market area to create output for. If omitted it will use the areas from the configuration entry. Currency: - description: Currency to display prices in. EUR is the base currency in Nord Pool prices. If omitted it will use the currency from the configuration entry. + description: Currency to display prices in. EUR is the base currency in Nord Pool prices. If omitted, it will use the currency from the configuration entry. Resolution: description: Resolution time for price indices. {% endconfiguration_basic %}