BottlecapDave / HomeAssistant-OctopusEnergy

Unofficial Home Assistant integration for interacting with Octopus Energy
https://bottlecapdave.github.io/HomeAssistant-OctopusEnergy/
MIT License
571 stars 57 forks source link

Tariff change shows previous day accumulation charges with wrong tariff #748

Closed pacemaker82 closed 7 months ago

pacemaker82 commented 7 months ago

Describe the bug

Change tariffs from agile to IOG

Check the previous day accumulation cost, look at the attributes

Its calculated on the most recent tariff rather than the tariff of the day. In this case its calculated on IOG prices rather than Agile which was active yesterday

Screenshot 2024-02-12 at 13 59 03

Reproduction steps

as above

Expected behaviour

Expect previous and today accumulation to be measured against the tariff that was in use at the time. The tariff history is available on the GET account apis.

Tariff Code

E-1R-INTELLI-BB-VAR-23-03-01-J

Integration Version

10.0.3

Home Assistant Version

2024.1.5

Fresh Install?

Fresh install

Home Assistant Logs

none

Confirmation

BottlecapDave commented 7 months ago

Hello. Thanks for raising this. I'm not currently sure when I'll get around to fixing it.

BottlecapDave commented 7 months ago

Hello. This should be fixed in v10.1.1.