Skip to content
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

Adding Energyforecast.de as a data source #180

Merged
merged 13 commits into from
Dec 10, 2024
Merged

Conversation

moritzmair
Copy link
Contributor

As discussed in This issue I added a Integration for my energy price forecast site. Hope this helps to bring energy price forecasts to many users and in their smart home. For now only DE prices are supported.

This is how it looks like with Apex Charts:
image

@suaveolent
Copy link
Collaborator

Thanks, I will review it as soon as possible 👍

@suaveolent
Copy link
Collaborator

@moritzmair Unfortuntately the test does not work for me.

ha_epex_spot/custom_components/epex_spot/test_energyforecast.py", line 14, in main
    service = Energyforecast.Energyforecast(token=DEMO_TOKEN, session=session)
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: Energyforecast.__init__() missing 1 required positional argument: 'market_area'

@moritzmair
Copy link
Contributor Author

@suaveolent I will fix it asap

@moritzmair
Copy link
Contributor Author

okay just fixed the test, also made the "demo_token" a working token on my side. Also added the new data source to the readme.

@suaveolent
Copy link
Collaborator

okay just fixed the test, also made the "demo_token" a working token on my side. Also added the new data source to the readme.

Thanks, found some minor changes. Afterwards it looks good for merge :)

moritzmair and others added 3 commits December 10, 2024 15:16
Co-authored-by: suaveolent <2163625+suaveolent@users.noreply.github.com>
Co-authored-by: suaveolent <2163625+suaveolent@users.noreply.github.com>
Co-authored-by: suaveolent <2163625+suaveolent@users.noreply.github.com>
@suaveolent suaveolent merged commit 4544457 into mampfes:main Dec 10, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants