Skip to content

Tariff: make Electricity Maps, Energy Price Forecast CO₂ cacheable#31251

Merged
andig merged 1 commit into
masterfrom
tariff/co2-cacheable
Jun 27, 2026
Merged

Tariff: make Electricity Maps, Energy Price Forecast CO₂ cacheable#31251
andig merged 1 commit into
masterfrom
tariff/co2-cacheable

Conversation

@naltatis

@naltatis naltatis commented Jun 26, 2026

Copy link
Copy Markdown
Member

fixes #31245
see also #31248

Opt the electricitymaps and energypriceforecast-co2 templates into the existing cacheable feature so fetched rates persist across restart. Bridges the missing current-slot gap that spams planner: no matching rate warnings.

@naltatis naltatis changed the title Tariff (CO₂): cache rates to survive restart Tariff (Electricity Maps, Energy Price Forecast CO₂): cache rates to survive restart Jun 26, 2026

@sourcery-ai sourcery-ai Bot 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.

Hey - I've reviewed your changes and they look great!


Sourcery is free for open source - if you like our reviews please consider sharing them ✨
Help me be more useful! Please click 👍 or 👎 on each comment and I'll use the feedback to improve your reviews.

@naltatis naltatis changed the title Tariff (Electricity Maps, Energy Price Forecast CO₂): cache rates to survive restart Tariff: make Electricity Maps, Energy Price Forecast CO₂ cacheable Jun 26, 2026
@naltatis naltatis added the tariffs Specific tariff support label Jun 26, 2026
@andig andig merged commit 5c53a70 into master Jun 27, 2026
40 checks passed
@andig andig deleted the tariff/co2-cacheable branch June 27, 2026 06:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

tariffs Specific tariff support

Projects

None yet

Development

Successfully merging this pull request may close these issues.

planner: no matching rate warning spams log when CO₂ tariff is configured alongside fixed grid tariff

2 participants