From 32910fb60707ad024de8678253b5f9b78b5dd78d Mon Sep 17 00:00:00 2001 From: Peter Grauvogel Date: Mon, 4 Aug 2025 21:49:55 +0000 Subject: [PATCH 1/5] Add Green Planet Energy integration documentation --- .../green_planet_energy.markdown | 69 +++++++++++++++++++ 1 file changed, 69 insertions(+) create mode 100644 source/_integrations/green_planet_energy.markdown diff --git a/source/_integrations/green_planet_energy.markdown b/source/_integrations/green_planet_energy.markdown new file mode 100644 index 000000000000..da5c71922586 --- /dev/null +++ b/source/_integrations/green_planet_energy.markdown @@ -0,0 +1,69 @@ +--- +title: Green Planet Energy +description: Instructions on how to integrate Green Planet Energy dynamic electricity pricing into Home Assistant. +ha_category: + - Energy + - Sensor +ha_release: 2025.8 +ha_iot_class: Cloud Polling +ha_config_flow: true +ha_codeowners: + - '@petschni' +ha_domain: green_planet_energy +ha_platforms: + - sensor +ha_integration_type: service +--- + +The **Green Planet Energy** {% term integration %} provides real-time electricity pricing data from Green Planet Energy, a German renewable energy provider. It fetches hourly electricity prices and provides various sensors for energy optimization and monitoring. It was written for the purpose to visualize the prices so that you can adopt your power consumption and shift it to cheaper hours. + +## Prerequisites + +You need to be a Green Planet Energy customer with a dynamic pricing tariff to use this integration. + +{% include integrations/config_flow.md %} + +## Sensors + +The **Green Planet Energy** integration provides the following sensors. + +### Current price + +- **Current price**: The current electricity price in EUR/kWh + +### Hourly prices + +- **Price XX:00**: Hourly electricity prices for each hour of the day (00:00 to 23:00) + +### Statistics + +- **Highest price today**: The highest electricity price for the current day +- **Lowest price day**: The lowest electricity price during day hours (6:00-18:00) +- **Lowest price night**: The lowest electricity price during night hours (18:00-6:00) +- **Price chart 24h**: 24-hour price chart data + +## Examples + +### Apex chart + +You can visualize the electricity prices using the ApexCharts card: + +````yaml +type: custom:apexcharts-card +header: + title: Electricity prices - 24 hours + show: true +graph_span: 24h +span: + start: day +now: + show: true + label: Now +series: + - entity: sensor.gpe_price_chart_24h + type: column + attribute: chart_data + data_generator: | + return entity.attributes.chart_data.map((entry) => { + return [new Date(entry.datetime).getTime(), entry.price]; + }); \ No newline at end of file From 8d0ef3b03e6cf360e904402a308be6e3af9c7a58 Mon Sep 17 00:00:00 2001 From: Peter Grauvogel Date: Tue, 5 Aug 2025 09:45:44 +0200 Subject: [PATCH 2/5] Update source/_integrations/green_planet_energy.markdown Co-authored-by: c0ffeeca7 <38767475+c0ffeeca7@users.noreply.github.com> --- source/_integrations/green_planet_energy.markdown | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/_integrations/green_planet_energy.markdown b/source/_integrations/green_planet_energy.markdown index da5c71922586..d52ce93793e5 100644 --- a/source/_integrations/green_planet_energy.markdown +++ b/source/_integrations/green_planet_energy.markdown @@ -4,7 +4,7 @@ description: Instructions on how to integrate Green Planet Energy dynamic electr ha_category: - Energy - Sensor -ha_release: 2025.8 +ha_release: 2025.9 ha_iot_class: Cloud Polling ha_config_flow: true ha_codeowners: From 0ed1164a2b7f84335e088a649d62252abd8f23e9 Mon Sep 17 00:00:00 2001 From: Peter Grauvogel Date: Tue, 5 Aug 2025 09:46:00 +0200 Subject: [PATCH 3/5] Update source/_integrations/green_planet_energy.markdown Co-authored-by: c0ffeeca7 <38767475+c0ffeeca7@users.noreply.github.com> --- source/_integrations/green_planet_energy.markdown | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/_integrations/green_planet_energy.markdown b/source/_integrations/green_planet_energy.markdown index d52ce93793e5..2da41422784d 100644 --- a/source/_integrations/green_planet_energy.markdown +++ b/source/_integrations/green_planet_energy.markdown @@ -15,7 +15,7 @@ ha_platforms: ha_integration_type: service --- -The **Green Planet Energy** {% term integration %} provides real-time electricity pricing data from Green Planet Energy, a German renewable energy provider. It fetches hourly electricity prices and provides various sensors for energy optimization and monitoring. It was written for the purpose to visualize the prices so that you can adopt your power consumption and shift it to cheaper hours. +The **Green Planet Energy** {% term integration %} provides real-time electricity pricing data from Green Planet Energy, a German renewable energy provider. It fetches hourly electricity prices and provides various sensors for energy optimization and monitoring. It visualizes the prices so that you can adapt your power consumption and shift it to cheaper hours. ## Prerequisites From 1cbd09d2b5f09dfe55f602b5cc3c09a48859f4cc Mon Sep 17 00:00:00 2001 From: Peter Grauvogel Date: Tue, 5 Aug 2025 10:33:43 +0000 Subject: [PATCH 4/5] Update Green Planet Energy integration documentation for clarity and completeness --- source/_integrations/green_planet_energy.markdown | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/source/_integrations/green_planet_energy.markdown b/source/_integrations/green_planet_energy.markdown index da5c71922586..f120db8c397c 100644 --- a/source/_integrations/green_planet_energy.markdown +++ b/source/_integrations/green_planet_energy.markdown @@ -19,7 +19,7 @@ The **Green Planet Energy** {% term integration %} provides real-time electricit ## Prerequisites -You need to be a Green Planet Energy customer with a dynamic pricing tariff to use this integration. +You **don't** need to have an account with Green Planet Energy for this integration to work. However the integration will probably only make sense if you are their customer with a dynamic energy tariff. For the setup no additional information is required. {% include integrations/config_flow.md %} @@ -66,4 +66,10 @@ series: data_generator: | return entity.attributes.chart_data.map((entry) => { return [new Date(entry.datetime).getTime(), entry.price]; - }); \ No newline at end of file + }); + +## Removing the integration + +This integration follows standard integration removal. + +{% include integrations/remove_device_service.md %} \ No newline at end of file From c59bde5dc22c4c95ff779543eb6186ced823211b Mon Sep 17 00:00:00 2001 From: c0ffeeca7 <38767475+c0ffeeca7@users.noreply.github.com> Date: Tue, 5 Aug 2025 12:41:01 +0200 Subject: [PATCH 5/5] Tiny tweak --- source/_integrations/green_planet_energy.markdown | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/_integrations/green_planet_energy.markdown b/source/_integrations/green_planet_energy.markdown index a8883a183fbf..eba0477cbebd 100644 --- a/source/_integrations/green_planet_energy.markdown +++ b/source/_integrations/green_planet_energy.markdown @@ -19,7 +19,7 @@ The **Green Planet Energy** {% term integration %} provides real-time electricit ## Prerequisites -You **don't** need to have an account with Green Planet Energy for this integration to work. However the integration will probably only make sense if you are their customer with a dynamic energy tariff. For the setup no additional information is required. +You don't need to have an account with Green Planet Energy for this integration to work. However, the integration will probably only make sense if you are their customer with a dynamic energy tariff. For the setup, no additional information is required. {% include integrations/config_flow.md %}