Hallo @pierre-gilles ,
Nach der Erstellung meines Moduls „Hydro-Québec“ für die lokale Alternative zu EDF, teste ich erneut die Energienachverfolgung mit Gladys.
Und ich stelle fest, dass alles für Franzosen gedacht ist, ohne generischen Status. Ich schlage vor, mindestens einen „Basis“- oder „Standard“-Energievertrag hinzuzufügen.
Es gibt tatsächlich einen generischen Modus.
Man muss zum Tab „Erstellen“ und nicht „Importieren“ gehen:
Der Tab „Importieren“ bietet nur die Verträge an, die Gladys in ihrer gemeinsamen Vertragsdatenbank kennt.
Derzeit sind sie tatsächlich alle französisch (ich würde gerne, dass sich das ändert!), Beiträge sind auf diesem Repository willkommen:
Gladys Assistant Energy Contracts as JSON
Das heißt, dein Hinweis ist berechtigt: Wenn du diese Option nicht gefunden hast, wird sie wahrscheinlich nicht genug hervorgehoben. Ich werde das verbessern
Hallo zusammen!
Dieses Thema ist nun in Entwicklung .
Ein PR wurde eröffnet, um auf der Importseite der Tarife zu erklären, wie man einen fehlenden Energievertrag erhält:
master ← claude/energy-tracking-clarity-qjl1la
ouvert 01:22PM - 04 Sep 26 UTC
### Description
On the energy prices "Import" page, nothing told the user what … to do when their energy contract was not in the list. This is confusing, especially for users outside of the providers already shared by the community (see the forum topic below).
This PR adds an information block right below the contract selector, explaining the two available options:
1. **Propose the contract to the community**, on the [GladysAssistant/energy-contracts](https://github.com/GladysAssistant/energy-contracts) repository, with an explicit note that Gladys downloads the contract list directly from that repository — so a newly added contract appears in the list **without updating Gladys**. A button links to the repository.
2. **Create the contract manually** in Gladys, with a button that opens the existing price creation wizard (it delegates to the parent page's `startCreatePrice`, so the wizard state is properly reset), and a note that such a contract only exists in the local installation.
Changed files:
- `front/src/routes/integration/all/energy-monitoring/ImportPrices.jsx`: new info block + shortcut to the creation wizard
- `front/src/routes/integration/all/energy-monitoring/EnergyMonitoring.jsx`: pass `startCreatePrice` down to the import page
- `front/src/config/i18n/{en,fr,de}.json`: new translation keys (`contractNotListedTitle`, `contractNotListedDescription`, `contractNotListedShare`, `contractNotListedShareButton`, `contractNotListedCreate`, `contractNotListedCreateButton`)
## Forum
Forum: https://community.gladysassistant.com/t/suivi-energie-international-importer-valeurs-historiques-de-consommation/10798
### Checklist
- [x] Tests pass: no server code changed, so no server test was affected. Cypress was not run (front-only copy/UI addition, no existing test covers this page); `npx vite build` succeeds.
- [x] Linter and prettier pass on both front and server (`npm run eslint`: 0 errors, `npm run prettier-check`: all files formatted). `npm run compare-translations` reports all three locales complete.
- [x] No undocumented breaking change
🤖 Generated with [Claude Code](https://claude.com/claude-code)
https://claude.ai/code/session_015ahe5EcABDCVJFMU9R8L9i
---
_Generated by [Claude Code](https://claude.ai/code/session_015ahe5EcABDCVJFMU9R8L9i)_
## Summary by CodeRabbit
* **New Features**
* Added guidance for energy contracts that aren’t listed during price import.
* Users can suggest missing contracts to the community via GitHub.
* Users can create energy contracts manually in Gladys.
* Added German and French translations for the new guidance.
Zögert nicht, dem PR zu folgen, es zu testen (optional, vor allem bei kleinen Anfragen) und euer Feedback hier zu hinterlassen, falls nötig.
Danke, ich werde mich in das Thema einarbeiten, um zu sehen, wie ich beitragen und die Unterstützung von Hydro-Québec leisten kann. Das wird nur ein winziger Teil von Kanada sein, aber wir machen kleine Schritte voran