Neuen Energievertrag Gaz de Bordeaux zu den Verträgen in Gladys hinzufügen

Hallo,

Aufgrund eines besseren Angebots bei Gaz de Bordeaux bin ich schließlich zu ihnen gewechselt :slight_smile:

Preistabelle

Hier sind die Informationen für die Integration, falls möglich :slight_smile:

Grundpreis:

[{
 "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
}]

Hoch-/Niedertarif:

[{
 "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
}]

Grundgebühr:

[
    { "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 } ] }
]

Hoch-/Niedertarif-Gebühr:

[
    { "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 } ] }
]

Danke

Danke für das Feedback, denkst du, du könntest versuchen, einen PR für das Repo zu erstellen?

Du kannst dich an diesem orientieren:

Es sind nur ein paar Dateien zu erstellen :slight_smile:

Normalerweise ist hier alles in Ordnung:

Sauber, danke!

Wäre es nicht besser, « gaz-de-bordeaux » als Ordnername zu verwenden, damit es lesbarer ist, und im Code könnte ich dann Leerzeichen anstelle der Bindestriche anzeigen?

Ja, ich denke, das ist besser :slight_smile:

Ich habe geändert: Add gaz-de-bordeaux provider by prohand · Pull Request #3 · GladysAssistant/energy-contracts · GitHub

Danke, das ist gut für mich.

Gemerged, und ich habe den Code angepasst, um solche Namen zu verarbeiten :slight_smile:

Perfekt, danke :slight_smile:

Der Gaz de Bordeaux-Abonnement wurde in diesem PR hinzugefügt:

Zur Info, es gab einen Unterschied im Startdatum zwischen dem Abonnement, das du mir gegeben hast, und dem kWh-Preis.

Ich habe den 14/11/2025 beibehalten, da dies im PDF erwähnt wird.

Zögere nicht, zu überprüfen, ob die von mir eingegebenen Informationen korrekt sind :slight_smile:

Das ist okay für mich, danke :slight_smile:

Ich habe das Abonnement importiert, ich denke, es gibt ein Problem mit der monatlichen Preisberechnung:

Der angezeigte Preis ist im PDF-Datei pro Jahr und nicht pro Monat :slight_smile:

Ich dachte, die Berechnung würde in Gladys automatisch erfolgen :sweat_smile:

Hier ist der PR für die Korrektur :slightly_smiling_face:

Danke für die Korrektur, tatsächlich war es pro Monat!

War es bei Alpiq in Ordnung?

Ja, das war in Ordnung für Alpiq