EDF UK Integration

I have created an integration for EDF UK that lets you access data such as current tariff standing charges and smart meter telemetry using EDF new open API

2 Likes

I’ve installed it using HACS, but cannot see how to configure it, nor what entities it exposes, It has created one device called EDF Energy and one entity ‘Update’ but that just has version number, what have I missed?

Ah ha, found it, the config page comes up when you add the integration from the integrations page. However I cannot get it to connect using my EDF login and password, Issue raised on Github.

Just installed latest version and it connects!
All the £/unit rates are in, just waiting for the current consumption figures. Will let you know
Many thanks
later in the day;
Rates are fine e.g. EDF Electricity Current Rate but still not gettiing current consumption figures e.g. EDF Electricity Current Consumption, do I need to start something? I can see the rates on the EDF web site under their ‘energy hub’ every 30 minutes that its updating.
I believe this error message may help

This error originated from a custom integration.

Logger: custom_components.edf_energy.api_client
Source: custom_components/edf_energy/api_client/init.py:318
Integration: EDF Energy (documentation, issues)
First occurred: 29 September 2026 at 16:56:31 (156 occurrences)
Last logged: 09:19:04

Errors in request (GraphQL) (edf-energy): [{‘message’: ‘Unauthorized.’, ‘locations’: [{‘line’: 2, ‘column’: 3}], ‘path’: [‘extendedAnnualElectricityConsumption’], ‘extensions’: {‘errorType’: ‘AUTHORIZATION’, ‘errorCode’: ‘KT-CT-1111’, ‘errorDescription’: ‘The viewer is not authorized to execute the query/mutation. Check authentication or roles/permissions.’}}]
Errors in request (GraphQL) (edf-energy): [{‘message’: ‘An internal error occurred.’, ‘locations’: [{‘line’: 2, ‘column’: 3}], ‘path’: [‘electricityMeterReadings’], ‘extensions’: {‘errorType’: ‘APPLICATION’, ‘errorCode’: ‘KT-CT-7899’, ‘errorDescription’: ‘’}}]
Errors in request (xxxx://api.edfgb-kraken.energy/v1/graphql/) (edf-energy): [{‘message’: ‘Unable to query smart meter telemetry data.’, ‘locations’: [{‘line’: 7, ‘column’: 3}], ‘path’: [‘smartMeterTelemetry’], ‘extensions’: {‘errorType’: ‘SERVICE_AVAILABILITY’, ‘errorCode’: ‘KT-GB-4039’, ‘errorDescription’: ‘’}}]