Disclaimer: This is an unofficial custom integration. This project is not affiliated with, endorsed by, or associated with Leneda, Creos, Enovos, or Home Assistant. All product names, logos, and brands are property of their respective owners.
A Home Assistant Integration that imports energy consumption and production statistics from the
Leneda API of Luxembourg energy providers and exposes them as sensors with statistics.
Metering data sensorAggregated metering data sensorFor example, the default OBIS code 1-1:1.29.0 shows electricity consumption as follows:
Active Power Consumption sensor — electric power measurements (kW) recorded as hourly statistics with min, max and mean.Active Energy Consumption sensor — electric energy measurements (kWh) recorded as hourly statistics with cumulative sum and mean.
You can configure multiple entries per combination of metering point and OBIS code. Depending on what OBIS codes your Leneda metering point provides, your sensors can be for:

The power and energy sensors can be connected to the Energy Dashboard

The power and energy sensors data can be visualized using Statistics Graph Card

HACS (Home Assistant Community Store)
Repeat step 3 to configure additional entries. Each entry has a unique identifier composed of a metering point and an obis code.
When configuring an entry, you will be prompted for the following values:
metering_point — your Leneda metering point identifier.energy_id — your Leneda energy identifier.api_key — Leneda API key. How to get an API key?days_to_fetch_during_initial_setup — number of past days of historical data to download during initial setup (integer, default: 180 days).obis_code — OBIS code to read (default: 1-1:1.29.0).

custom_components/leneda folder to your Home Assistant config/custom_components/ directory.