Add new Gaz de Bordeaux energy contract to Gladys contracts

Hello,

Following a better offer from Gaz de Bordeaux, I ultimately went with them :slight_smile:

Pricing grid

Here is the information for integration if possible :slight_smile: :

Base price :

[{
 "contract": "base",
 "price_type": "consumption",
 "currency": "euro",
 "start_date": "2025-11-14",
 "end_date": "2027-11-30",
 "price": 1554,
 "hour_slots": null,
 "day_type": null
}]

Off-peak / Peak price :

[{
 "contract": "peak-off-peak",
 "price_type": "consumption",
 "currency": "euro",
 "start_date": "2025-11-14",
 "end_date": "2027-11-30",
 "price": 1316,
 "hour_slots": "TO_REPLACE_OFF_PEAK",
 "day_type": null
},
{
 "contract": "peak-off-peak",
 "price_type": "consumption",
 "currency": "euro",
 "start_date": "2025-11-14",
 "end_date": "2027-11-30",
 "price": 1650,
 "hour_slots": "TO_REPLACE_PEAK",
 "day_type": null
}]

Base subscription :

[
    { "3":  [ { "contract": "base", "price_type": "subscription", "currency": "euro", "start_date": "2025-11-04", "end_date": "2027-11-30", "price": 1407400 } ] },
    { "6":  [ { "contract": "base", "price_type": "subscription", "currency": "euro", "start_date": "2025-11-04", "end_date": "2027-11-30", "price": 1855800 } ] },
    { "9":  [ { "contract": "base", "price_type": "subscription", "currency": "euro", "start_date": "2025-11-04", "end_date": "2027-11-30", "price": 2327300 } ] },
    { "12": [ { "contract": "base", "price_type": "subscription", "currency": "euro", "start_date": "2025-11-04", "end_date": "2027-11-30", "price": 2798800 } ] },
    { "15": [ { "contract": "base", "price_type": "subscription", "currency": "euro", "start_date": "2025-11-04", "end_date": "2027-11-30", "price": 3247300 } ] }
]

Off-peak / Peak subscription :

[
    { "6":  [ { "contract": "base", "price_type": "subscription", "currency": "euro", "start_date": "2025-11-04", "end_date": "2027-11-30", "price": 1920700 } ] },
    { "9":  [ { "contract": "base", "price_type": "subscription", "currency": "euro", "start_date": "2025-11-04", "end_date": "2027-11-30", "price": 2425300 } ] },
    { "12": [ { "contract": "base", "price_type": "subscription", "currency": "euro", "start_date": "2025-11-04", "end_date": "2027-11-30", "price": 2914100 } ] },
    { "15": [ { "contract": "base", "price_type": "subscription", "currency": "euro", "start_date": "2025-11-04", "end_date": "2027-11-30", "price": 3378500 } ] },
    { "18": [ { "contract": "base", "price_type": "subscription", "currency": "euro", "start_date": "2025-11-04", "end_date": "2027-11-30", "price": 3855700 } ] },
    { "24": [ { "contract": "base", "price_type": "subscription", "currency": "euro", "start_date": "2025-11-04", "end_date": "2027-11-30", "price": 4863600 } ] },
    { "30": [ { "contract": "base", "price_type": "subscription", "currency": "euro", "start_date": "2025-11-04", "end_date": "2027-11-30", "price": 5800900 } ] },
    { "36": [ { "contract": "base", "price_type": "subscription", "currency": "euro", "start_date": "2025-11-04", "end_date": "2027-11-30", "price": 6743900 } ] }
]

Thanks

Thanks for the reply — do you think you could try to submit a PR on the repo?

You can take inspiration from this one:

It’s just a few files to create :slight_smile:

Normally it’s all good here:

Nice, thanks!

Shouldn’t we use « gaz-de-bordeaux » as the folder name so it’s more readable, and maybe in the code I could display spaces instead of hyphens?

Yes I think that’s better :slight_smile:

I’ve modified: Add gaz-de-bordeaux provider by prohand · Pull Request #3 · GladysAssistant/energy-contracts · GitHub

1 Like

Thanks, that’s fine with me.

Merged, and I’ve adapted the code to handle this kind of name :slight_smile:

1 Like

Perfect, thanks :slight_smile:

1 Like