Skip to content

Add smartEnergy-Tariff#3614

Merged
LKuemmel merged 3 commits into
openWB:masterfrom
AlexanderHa98:feature_smartenergy_tariff
Jul 1, 2026
Merged

Add smartEnergy-Tariff#3614
LKuemmel merged 3 commits into
openWB:masterfrom
AlexanderHa98:feature_smartenergy_tariff

Conversation

@AlexanderHa98

Copy link
Copy Markdown
Contributor

Neuer Anbieter: smart Energy

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds a new flexible electricity tariff integration for the provider “smart Energy” by introducing a new tariff module under packages/modules/electricity_pricing/flexible_tariffs/.

Changes:

  • Introduces smartEnergy tariff fetcher that calls the SmartEnergy market price API and maps timestamps to €/Wh prices.
  • Adds corresponding dataclass-based tariff configuration for registration via DeviceDescriptor.
  • Adds the package initializer for the new tariff module.

Reviewed changes

Copilot reviewed 2 out of 3 changed files in this pull request and generated 2 comments.

File Description
packages/modules/electricity_pricing/flexible_tariffs/smartEnergy/tariff.py Implements HTTP fetch + conversion to TariffState(prices=...) updater for the new provider.
packages/modules/electricity_pricing/flexible_tariffs/smartEnergy/config.py Defines SmartEnergyTariff / SmartEnergyTariffConfiguration dataclasses for module registration.
packages/modules/electricity_pricing/flexible_tariffs/smartEnergy/init.py Adds the new tariff package initializer (empty).

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread packages/modules/electricity_pricing/flexible_tariffs/smartEnergy/tariff.py Outdated
Comment on lines +10 to +13
class SmartEnergyTariff:
name: str = "smartEnergy"
type: str = "smartEnergy"
official: bool = True
AlexanderHa98 and others added 2 commits July 1, 2026 13:58
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
@LKuemmel LKuemmel merged commit 89e9c03 into openWB:master Jul 1, 2026
1 check 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.

3 participants