El problema estaba ahí, creo. ¿Ya estaba tu repositorio actualizado del repositorio upstream?
Luego, es mejor hacer ramas para separar tu trabajo.
Ahora debías estar en el antiguo estado « no fusionado » de la antigua PR.
mutmut
3 Febrero, 2026 21:43
22
Muchas gracias, todo está fusionado
mutmut
12 Octubre, 2026 19:12
24
Hola a los alsacianos, pensé erróneamente que las tarifas ES no habían cambiado en agosto de este año, pero no era así
Así que aquí está la PR con las (antiguas) nuevas tarifas a partir del 1/08/2026:
main ← smuteau:update-tariff-electricite-de-strasbourg-2026-08-01
ouvert 06:57PM - 12 Oct 26 UTC
Add ÉS TRV Bleu price grid PDF effective 2026-08-01
Close the 2026-02-01 period … on 2026-07-31 (Base, HPHC, Tempo)
Add 2026-08-01 prices for Base, Peak/Off-peak and Tempo (CSV + XLSX)
Add 3 kVA subscription for Peak/Off-peak option (new period only)
🤖 Generated with [Claude Code](https://claude.com/claude-code)
@pierre-gilles ¿puedes hacer merge?
¡Acabo de hacer el merge!
En el futuro, @cicoub13 y @bertrandda también tendrán los derechos para informar
mutmut
16 Noviembre, 2026 19:29
27
Hola,
tras el próximo lanzamiento de la integración externa ES Tarifs Vert, he realizado una actualización con contracts-v2.json para los Tarifs Bleu y tener los nombres de contrato correctos:
main ← smuteau:feat/contracts-v2
ouvert 05:56PM - 16 Nov 26 UTC
## Why
In the Gladys contract wizard, a community contract is shown under its k… ey: `electricite-de-strasbourg-tarif-bleu-tempo 12 kVA`. `contracts.json` (format v1) has no field for a name, so Gladys builds it from the key.
Gladys 5.3+ already looks for a `contracts-v2.json` asset in the latest release and uses it instead of `contracts.json` when it is there (`server/lib/energy-contract/template.catalogue.js`, spec `energy-contracts.md` §9.4). This PR is the first time the catalogue publishes it.
## What changes
- `npm run build` also writes `contracts-v2.json`: every contract of `contracts.json`, one template per key and subscribed power, in the template format of Gladys.
- The release workflow publishes both files.
- An optional `template.json` next to a `convert.js` gives the contract a name and a description (en/fr/de/es). Without it, the name stays `<key> <power> kVA`, as today.
- The template `version` is the start date of the latest prices.
- First user: the three Électricité de Strasbourg Tarif Bleu contracts, e.g. `ÉS Tarif Bleu (réglementé) – Tempo – 6 kVA`.
- README: how to name a contract.
## Same prices, same keys
The templates are built with the translation Gladys already applies to `contracts.json`: `lib/gladys/convertPriceRows.js` is a copy of `server/lib/energy-contract/legacy/convertPriceRows.js` from Gladys v5.3.3 (Apache-2.0), and `lib/v2.js` follows `convertCatalogueV1` / `buildVariantTariff`.
I compared the 187 templates with the output of Gladys v5.3.3's own `convertCatalogueV1` on the same `contracts.json`: identical keys, variants, tariffs and inputs. Only the name, description and version differ. Existing contracts keep their `template_key`.
Nothing changes for Gladys versions that only read `contracts.json`.
## Checks
- `npm run build` and `npm test`: the test now also checks `contracts-v2.json` (one template per contract and power, required fields, names).
- Already true with `contracts.json` today: 19 EDF templates carry more history than the 16 components / 64 rules limits. Gladys prunes the history outside the contract's validity before validating (spec §4, `tariff.prune.js`), so they behave as they do now.
## Next
The other providers can get readable names the same way, one `template.json` each.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
@cicoub13 @bertrandda ¿alguno de ustedes puede revisar y fusionar?
Si todo está bien para esta “v2”, lanzaré una actualización de todos los contratos del repositorio comunitario.
Revisión hecha.
Hay un bug existente en los archivos que has recuperado de Gladys.
mutmut
16 Noviembre, 2026 22:08
29
Gracias @cicoub13 , las correcciones están hechas.
¿Quieres que haga una PR para el core sobre el doblaje del precio de la suscripción?
No, vamos a lanzar esta y Gladys se encargará de los contratos v2
mutmut
17 Noviembre, 2026 09:32
31
vale, y si no, he corregido el último problema menor.
mutmut
17 Noviembre, 2026 09:39
32
Hola a los alsacianos y para los que han tomado una oferta Verde, aquí está la integración externa que va bien (¡mi primera ) :
Y para los que están en el tarifazo Azul, no necesitan esta integración porque los contratos ya están en el depósito comunitario de Gladys, así que nada cambia para ustedes
Está validado y fusionado Las instalaciones de Gladys en 5.3+ se benefician de ello (hay una caché de 6 horas).
Gracias
mutmut
18 Noviembre, 2026 17:44
34
Gracias @cicoub13 , es perfecto
Antes :
Después :
¡Es mucho más simpático y comprensible para los nombres!
Me pongo (con Claude ) a todos los demás contratos para los nombres.