-
-
Notifications
You must be signed in to change notification settings - Fork 7.8k
Add Green Planet Energy integration documentation #40279
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
petschni
wants to merge
6
commits into
home-assistant:next
Choose a base branch
from
petschni:add-green-planet-energy-docs
base: next
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
6 commits
Select commit
Hold shift + click to select a range
32910fb
Add Green Planet Energy integration documentation
petschni 8d0ef3b
Update source/_integrations/green_planet_energy.markdown
petschni 0ed1164
Update source/_integrations/green_planet_energy.markdown
petschni 1cbd09d
Update Green Planet Energy integration documentation for clarity and …
petschni a984b26
Merge branch 'add-green-planet-energy-docs' of https://github.com/pet…
petschni c59bde5
Tiny tweak
c0ffeeca7 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,75 @@ | ||
--- | ||
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.9 | ||
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 visualizes the prices so that you can adapt your power consumption and shift it to cheaper hours. | ||
|
||
## 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. | ||
|
||
{% 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]; | ||
}); | ||
|
||
## Removing the integration | ||
|
||
This integration follows standard integration removal. | ||
|
||
{% include integrations/remove_device_service.md %} |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.