-
Notifications
You must be signed in to change notification settings - Fork 134
Description
Version of the custom_component
custom-components/nordpool
Version: 0.0.17 (latest via HACS)
Homeassistant version
Home Assistant Core: latest (current stable release)
Configuration
yaml
sensor:
- platform: nordpool
# Country/region to get the energy prices for.
region: "GER"
# Override HA local currency used to fetch the prices from the API.
currency: "EUR"
# Add Value Added Taxes (VAT)?
VAT: True
# Energy price rounding precision.
precision: 3
# Percentage of average price to set the low price attribute
# low_price = hour_price < average * low_price_cutoff
low_price_cutoff: 0.95
# Display price in cents instead of (for example) Euros.
price_in_cents: false
# Price displayed for MWh, kWh or Wh
price_type: kWh
# Template to specify additional cost to be added to the tariff.
# The template price is in EUR, DKK, NOK or SEK (not in cents).
additional_costs: "{{ 0.0 | float }}"
Describe the bug
When using the HACS Nord Pool integration with region GER, the sensor entity is created successfully, but no price data is returned.
The sensor state remains unknown and all price-related attributes (today, raw_today, current_price, min, max, etc.) stay null, even after multiple restarts and waiting for data updates.
At the same time, GER is the only valid region option for Germany in this integration.
Using DE-LU (which is commonly referenced for Germany in Nord Pool context and other Home Assistant integrations) is not accepted and causes a configuration validation error.
This results in a confusing and blocking situation:
DE-LU is commonly referenced but cannot be configured
GER is accepted but does not return any data
It is currently unclear which region code should be used to retrieve German Nord Pool spot prices with this integration.
Debug log
Entity: sensor.nordpool_kwh_ger_eur_3_095_023
State: unknown
Attributes:
average: null
off_peak_1: null
off_peak_2: null
peak: null
min: null
max: null
mean: null
low_price: null
price_percent_to_average: null
today:
tomorrow:
tomorrow_valid: false
raw_today:
raw_tomorrow:
current_price: null
additional_costs_current_hour: null
price_in_cents: false
currency: EUR
country: Germany
region: GER
unit_of_measurement: EUR/kWh
device_class: monetary