|
74 | 74 | # export entry below to a distinct export code; that product does not exist and 404s. |
75 | 75 | _INTELLI_FLUX = "{}/INTELLI-FLUX-IMPORT-23-07-14/electricity-tariffs/E-1R-INTELLI-FLUX-IMPORT-23-07-14-{{dno_region}}/standard-unit-rates/".format(_OCTOPUS) |
76 | 76 |
|
| 77 | +# EDF Kraken API base URL for EDF tariffs |
| 78 | +_EDF = "https://api.edfgb-kraken.energy/v1/products" |
| 79 | + |
| 80 | + |
77 | 81 | # Import and export are chosen independently, so they are listed independently. They used |
78 | 82 | # to be one list of pre-paired combinations, which could not express a pairing nobody had |
79 | 83 | # thought to enumerate - and, because the pairs were matched back to the dropdown on their |
|
93 | 97 | {"id": "snug", "name": "Octopus Snug", "import_octopus_url": "{}/SNUG-24-11-07/electricity-tariffs/E-1R-SNUG-24-11-07-{{dno_region}}/standard-unit-rates/".format(_OCTOPUS)}, |
94 | 98 | {"id": "flux", "name": "Octopus Flux", "import_octopus_url": "{}/FLUX-IMPORT-23-02-14/electricity-tariffs/E-1R-FLUX-IMPORT-23-02-14-{{dno_region}}/standard-unit-rates".format(_OCTOPUS)}, |
95 | 99 | {"id": "intelligent_flux", "name": "Octopus Intelligent Flux", "import_octopus_url": _INTELLI_FLUX}, |
| 100 | + {"id": "edf_go", "name": "EDF Go Electric", "import_octopus_url": "{}/EDF_EV_FIX_GOELEC_12M_HH/electricity-tariffs/E-1R-EDF_EV_FIX_GOELEC_12M_HH-{{dno_region}}/standard-unit-rates/".format(_EDF)}, |
| 101 | + { |
| 102 | + "id": "edf_empower_fixed", |
| 103 | + "name": "EDF Empower Fixed", |
| 104 | + "rates_import": [ |
| 105 | + {"rate": 10, "start": "00:00:00", "end": "03:00:00"}, |
| 106 | + {"rate": 20, "start": "03:00:00", "end": "16:00:00"}, |
| 107 | + {"rate": 30, "start": "16:00:00", "end": "19:00:00"}, |
| 108 | + {"rate": 20, "start": "19:00:00", "end": "00:00:00"}, |
| 109 | + ], |
| 110 | + }, |
96 | 111 | ] |
97 | 112 |
|
98 | 113 | EXPORT_TARIFFS = [ |
|
104 | 119 | {"id": "flux_export", "name": "Octopus Flux export", "export_octopus_url": "{}/FLUX-EXPORT-23-02-14/electricity-tariffs/E-1R-FLUX-EXPORT-23-02-14-{{dno_region}}/standard-unit-rates".format(_OCTOPUS)}, |
105 | 120 | {"id": "intelligent_flux_export", "name": "Octopus Intelligent Flux export", "export_octopus_url": _INTELLI_FLUX}, |
106 | 121 | {"id": "eon_next_export", "name": "Eon Next export (16.5p)", "rates_export": [{"rate": 16.5}]}, |
| 122 | + {"id": "edf_export", "name": "EDF Export (15p)", "rates_export": [{"rate": 15.0}]}, |
| 123 | + {"id": "edf_export_exclusive", "name": "EDF Export Exclusive (18p)", "rates_export": [{"rate": 18.0}]}, |
107 | 124 | ] |
108 | 125 |
|
109 | 126 |
|
|
0 commit comments