Skip to content

Tariff templates: add provider links - #32012

Merged
andig merged 3 commits into
feat/template-linkfrom
feat/tariff-links
Aug 18, 2026
Merged

Tariff templates: add provider links#32012
andig merged 3 commits into
feat/template-linkfrom
feat/tariff-links

Conversation

@andig

@andig andig commented Jul 21, 2026

Copy link
Copy Markdown
Member

Follow-up to #32008: populates the new link property for tariff templates.

  • 45 non-deprecated tariff templates get a template-level link to the vendor or data provider
  • deprecated templates and the demo/fixed pseudo-templates are left untouched
  • links derived from the API hosts and help texts already present in each template, all verified to resolve over https

🤖 Generated with Claude Code

@andig andig added enhancement New feature or request devices Specific device support tariffs Specific tariff support and removed devices Specific device support labels Jul 21, 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.

@andig

andig commented Jul 21, 2026

Copy link
Copy Markdown
Member Author

@naltatis wdyt? Not convinced we absolutely need this but it may be a nice touch. Limited the experiment to tariffs. Instead of the base brand link these could be made more useful by targeting the actual upstream integration page.

@andig
andig marked this pull request as draft July 21, 2026 10:03
@andig
andig requested a review from naltatis July 21, 2026 10:03
@andig andig added the ux User experience/ interface label Jul 21, 2026
@github-actions github-actions Bot added the stale Outdated and ready to close label Jul 28, 2026
@naltatis

Copy link
Copy Markdown
Member

We should link to the actual products/services/tariffs we are integrating here, not only the homepage. Especially important for sites with a broad portfolio (e.g. victron). I'll go through and update the links.

@github-actions github-actions Bot removed the stale Outdated and ready to close label Jul 29, 2026
@naltatis

Copy link
Copy Markdown
Member

Now linking to the actual service/product if the vendor offers more than one.

@naltatis
naltatis marked this pull request as ready for review July 29, 2026 16:17

@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

Copy link
Copy Markdown
Member

@github-actions github-actions Bot added the stale Outdated and ready to close label Aug 5, 2026
@naltatis naltatis removed the stale Outdated and ready to close label Aug 5, 2026
@github-actions github-actions Bot added the stale Outdated and ready to close label Aug 13, 2026
@github-actions github-actions Bot closed this Aug 18, 2026
@andig andig reopened this Aug 18, 2026
@andig
andig merged commit d36942e into feat/template-link Aug 18, 2026
17 checks passed
@andig
andig deleted the feat/tariff-links branch August 18, 2026 08:13

@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 found 1 issue

Prompt for AI Agents
Please address the comments from this code review:

## Individual Comments

### Comment 1
<location path="templates/definition/tariff/energypriceforecast.yaml" line_range="2" />
<code_context>
 template: energypriceforecast-co2
+link: https://energypriceforecast.eu/en/evcc-electricity-price-co2-forecast/
 products:
   - brand: Energy Price Forecast EU
</code_context>
<issue_to_address>
**question:** Consider whether the non-CO₂ template should link to a more generic product page instead of the CO₂-specific one.

Since both `energypriceforecast.yaml` and `energypriceforecast-co2.yaml` use this CO₂-specific URL, please confirm whether this template is intended for the CO₂ product only. If it’s meant for a more general or non-CO₂ tariff, consider switching to a neutral landing or documentation page so the mapping between template and product is unambiguous.
</issue_to_address>

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.

Comment thread templates/definition/tariff/energypriceforecast.yaml
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request stale Outdated and ready to close tariffs Specific tariff support ux User experience/ interface

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants