Adding Electricité de Strasbourg to contracts in Gladys

Hello,
I’ve prepared the addition of Electricité de Strasbourg - Tarifs Bleu (TRVE) - via this PR:

@pierre-gilles let me know if this is OK for you, I based it on what you did for EDF.

If Alsatians have older tariff conditions or others (Tarifs Vert, etc.), feel free to post them here and I’ll add them to the GitHub.

3 Likes

Great, thanks for the addition!

I’ve left some feedback:

Quick question, how does the Tempo tariff work? Is it like the national Tempo tariff?

Thanks @pierre-gilles, I saw the comments and I’ll fix it tonight.

For the tempo ES kWh rate, it’s the same as EDF’s but not the subscriptions.

Okay! And are the Tempo days (jours Tempo) the same? Is all the logic the same?

Yes, the tempo days are identical because it’s national in this case.

1 Like

@pierre-gilles done :wink: (well I think so, not sure about what I did…)

Thanks! However, for Tempo the key really needs to be « edf-tempo » (for consumption and subscription). These keys correspond to snippets of code to call in Gladys to calculate the cost of consumption, and the only 3 possible values are :

Screenshot 2026-01-14 at 09.06.32

It’s fixed for tempo.

2 Likes

Thank you @mutmut ! @Alsace Verdomi

1 Like

Thanks for your contribution, it’s fine with me :slight_smile: It’s available in Gladys!

1 Like

I’ve imported the ES rates and it’s recalculating the costs right now.
Would it be possible to change to « heure creuse / heure pleine » instead of English?
image
Thanks :smiling_face:

1 Like

Actually, the problem is that only the last part of the contract name is translated if it matches a known name!

Wouldn’t it be more logical to have folder names like « tarif-bleu-base », « tarif-bleu-peak-off-peak », « tarif-bleu-tempo »?

Ah yes

It’s been modified.

I don’t see a PR? :slight_smile:

So I don’t understand what I’m doing :confused:

Yet I’ve modified and updated it on GitHub:
image
I’ll check on the computer as soon as possible.

I just (re)created a PR and it feels like it picked up everything I’ve done since adding ES :thinking:
Anyway, I’ll need a GitHub lesson because

Yes, indeed, it looks like it picked everything up…

Don’t hesitate to talk with an AI about anything related to Git, it’s a great teacher who will be able to explain things to you better than I can :wink:

@mutmut I did it myself, so :

  1. Branch creation :

Screenshot 2026-01-23 at 14.28.30

  1. Renaming, commit & push

![Screenshot 202

Thanks @pierre-gilles, does that mean my PR didn’t work?
In any case I’m doing everything except point 1 :wink: