Skip to content

fix tariff: ignore stale grid fee when provider is not configured - #4112

Merged
LKuemmel merged 1 commit into
openWB:masterfrom
LKuemmel:fix_electricity_pricing_update
Oct 14, 2026
Merged

LKuemmel merged 1 commit into
openWB:masterfrom
LKuemmel:fix_electricity_pricing_update

Conversation

@LKuemmel

Copy link
Copy Markdown
Contributor

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.

🟢 Approval recommended

No unresolved review issues were identified, and regression coverage is included.

0 open findings

What changed in this PR

Prevents stale grid-fee data from affecting tariffs when no provider is configured.

Changes:

  • Ignores cached grid-fee prices without a configured provider.
  • Adds regression coverage for stale grid-fee data.
File Summary
packages/​modules/​common/​store/​_tariff.py Filters grid-fee prices by provider configuration.
packages/​modules/​common/​store/​_tariff_test.py Tests stale grid-fee exclusion.

🧠 Review effort: Lite


💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@LKuemmel
LKuemmel merged commit d03e30d into openWB:master Oct 14, 2026
1 check passed
@LKuemmel
LKuemmel deleted the fix_electricity_pricing_update branch October 14, 2026 12:24
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