Skip to content

Conversation

@Quietus
Copy link

@Quietus Quietus commented May 17, 2023

Over time, Octopus have introduced some new variants on the tariff for Agile, depending on when you signed up or your contract updated you may not be on the same one so I've added an optional parameter for the code to load the one you want the data for - can be set to any of these, will default to AGILE-18-02-21 (original behaviour).

AGILE-18-02-21 – The original version capped at 35p per unit
AGILE-22-07-22 – The cap rose to 55p
AGILE-22-08-31 – The cap was increased to 78p
AGILE-VAR-22-10-19 – This version raised the cap to £1 per unit and also introduced a new formula.
AGILE-FLEX-22-11-25 – Cap stays at £1 per unit but new formula only deducts 17.9p from higher unit prices.

@brandinio
Copy link

Agile Octopus has recently been updated and the new tariff code below can be used perfectly with this PR

  • AGILE-23-12-06

This PR would solve the issue of rates being capped at 35p. Can we get this merged @markgdev?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants