Describe the bug
Retrieval of my EDF import tariff rates and standing charge is failing but the export tariff rate is working. The import and export tariff names are both been identified correctly.
Import Tariff: Next Smart Saver Fixed 12m V8
Export Tariff: Next Flex Export v1
History of previous issues with getting Kraken to work with EDF.
#3733 #3681
Below is the URL it uses to try and retrieve the import rates which returns {"detail":"Not found."} when you put it in a browser. I had done some research on this and reported it in my first issue post on #3733 .
https://api.eonnext-kraken.energy/v1/products/NEXT_SMART_SAVER_FIXED_12M_V8/electricity-tariffs/E-TOU-NEXT_SMART_SAVER_FIXED_12M_V8-M/standard-unit-rates/
Expected behaviour
The import tariff rates and standing charge to be retrieved correctly.
Predbat version
8.36.1
Screenshots

Log file
Initial rates lookup failure
2026-04-08 12:40:05.358803: Initialising Kraken Energy (EDF/E.ON) interface
2026-04-08 12:40:05.358858: Kraken: Export account configured — [REDACTED] MPAN auto
2026-04-08 12:40:05.358952: Initialising Axle Energy interface
2026-04-08 12:40:05.359084: Starting Kraken Energy (EDF/E.ON) interface
2026-04-08 12:40:05.359114: Creating task: <coroutine object ComponentBase.start at 0x7f0ee9894300>
2026-04-08 12:40:05.360659: KrakenAPI: Waiting for API to start
2026-04-08 12:40:06.303907: Kraken: Export tariff discovered on account [REDACTED] — E-1R-NEXT_FLEX_EXPORT_V1-M
2026-04-08 12:40:06.303994: Kraken: Tariff discovered — E-TOU-NEXT_SMART_SAVER_FIXED_12M_V8-M (product NEXT_SMART_SAVER_FIXED_12M_V8)
2026-04-08 12:40:06.378255: Warn: Kraken: Rates HTTP 404 for https://api.eonnext-kraken.energy/v1/products/NEXT_SMART_SAVER_FIXED_12M_V8/electricity-tariffs/E-TOU-NEXT_SMART_SAVER_FIXED_12M_V8-M/standard-unit-rates/
2026-04-08 12:40:06.441172: Warn: Kraken: Standing charges HTTP 404
2026-04-08 12:40:06.514678: Kraken: Fetched 1 rate periods for E-1R-NEXT_FLEX_EXPORT_V1-M
2026-04-08 12:40:06.538296: KrakenAPI: Started
Later in the logfile failure to read the missing rates
2026-04-08 12:40:14.503974: Warn: Validation of apps.yaml found configuration item 'metric_octopus_import' element sensor.predbat_kraken_[REDACTED]_import_rates returned value 'None', not a valid value
2026-04-08 12:40:14.504211: Error: Validation of apps.yaml found 1 configuration errors
...
2026-04-08 12:40:23.831896: Error: metric_octopus_import is not set correctly in apps.yaml, or no energy rates can be read
2026-04-08 12:40:23.841366: Warn: record_status Error: metric_octopus_import not set correctly in apps.yaml, or no energy rates can be read
2026-04-08 12:40:23.841438: Error: Exception raised
2026-04-08 12:40:23.843074: Error: Traceback (most recent call last):
File "/config/predbat.py", line 1704, in update_time_loop
self.update_pred(scheduled=False)
File "/config/predbat.py", line 814, in update_pred
sensor_force_replan = self.fetch_sensor_data()
^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/fetch.py", line 829, in fetch_sensor_data
raise ValueError
ValueError
...
2026-04-08 12:45:04.297649: Warn: Octopus: No Octopus data in sensor sensor.predbat_kraken_[REDACTED]_import_rates attribute 'all_rates' / 'rates' / 'raw_today' / 'prices'
2026-04-08 12:45:04.297678: Error: metric_octopus_import is not set correctly in apps.yaml, or no energy rates can be read
2026-04-08 12:45:04.308331: Warn: record_status Error: metric_octopus_import not set correctly in apps.yaml, or no energy rates can be read
2026-04-08 12:45:04.308403: Error: Exception raised
2026-04-08 12:45:04.310325: Error: Traceback (most recent call last):
File "/config/predbat.py", line 1781, in run_time_loop
self.update_pred(scheduled=True)
File "/config/predbat.py", line 814, in update_pred
sensor_force_replan = self.fetch_sensor_data()
^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/fetch.py", line 829, in fetch_sensor_data
raise ValueError
ValueError
Describe the bug
Retrieval of my EDF import tariff rates and standing charge is failing but the export tariff rate is working. The import and export tariff names are both been identified correctly.
History of previous issues with getting Kraken to work with EDF.
#3733 #3681
Below is the URL it uses to try and retrieve the import rates which returns
{"detail":"Not found."}when you put it in a browser. I had done some research on this and reported it in my first issue post on #3733 .https://api.eonnext-kraken.energy/v1/products/NEXT_SMART_SAVER_FIXED_12M_V8/electricity-tariffs/E-TOU-NEXT_SMART_SAVER_FIXED_12M_V8-M/standard-unit-rates/
Expected behaviour
The import tariff rates and standing charge to be retrieved correctly.
Predbat version
8.36.1
Screenshots

Log file
Initial rates lookup failure
Later in the logfile failure to read the missing rates