BottlecapDave / HomeAssistant-OctopusEnergy

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

Events entities are not updating reliably #625

Closed alfwro13 closed 10 months ago

alfwro13 commented 10 months ago

Describe the bug

I have noticed that in the last couple of weeks events for next/previous/current day rates are not updating reliably. I have verified that there is no issue with Octopus API as I am able to see the rates using https://api.octopus.energy/v1/products/AGILE-FLEX-22-11-25/electricity-tariffs/E-1R-AGILE-FLEX-22-11-25-J/standard-unit-rates/ also the target rates setup in the integrations are being updated.

Reproduction steps

I am using octopus-energy-rates-card and this is especially visible when new agile rates are published, normally the card will update shortly after 16:00, but very often it takes hours. I have tried reloading the integration but that makes no difference

Expected behaviour

It is quite critical that Agile rates are available as soon as they are published

Tariff Code

E-1R-AGILE-FLEX-22-11-25-J

Integration Version

9.1.0

Home Assistant Version

2023.12.1

Fresh Install?

After upgrading

Home Assistant Logs

Debug logs are full of lines like this one: DEBUG (MainThread) [custom_components.octopus_energy.coordinators.electricity_rates] Failed to retrieve new electricity rates for [REMOVED], so using cached rates

Confirmation

alfwro13 commented 10 months ago

Duplicate issue