BottlecapDave / HomeAssistant-OctopusEnergy

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

Next day rates entity not available #728

Closed coleburg closed 5 months ago

coleburg commented 5 months ago

Describe the bug

next_day_rates are not available, current and previous both working perfectly.

Reproduction steps

went into entities, opened event.octopus_energy_electricity_THISHERE_next_day_rates and it shows This entity is unavailable.

Expected behaviour

should be able to view tomorrows rates

Tariff Code

https://api.octopus.energy/v1/products/AGILE-23-12-06/electricity-tariffs/E-1R-AGILE-23-12-06-J/standard-unit-rates/

Integration Version

v10.0.3

Home Assistant Version

2024.1.5

Fresh Install?

Fresh install

Home Assistant Logs

nothing in the logs which relate to next day rates

Confirmation

BottlecapDave commented 5 months ago

Hello. Information can take a little while to come through when you first setup the integration. Have they populated yet? If not, do you have any errors in your logs?

coleburg commented 5 months ago

I have had ther plug in for a while now, so not a new install, its only last few days I thought I would look for and use next days rate. Cant see any errors in the log regarding next day rates

[custom_components.octopus_energy.coordinators.electricity_rates] Electricity rates retrieved for (E-1R-AGILE-23-12-06-J); 2024-01-29 16:34:35.829 DEBUG (MainThread) [custom_components.octopus_energy.coordinators] last_retrieved: 2024-01-29 16:34:35.404423+00:00; request_attempts: 1; refresh_rate_in_minutes: 15; next_refresh: 2024-01-29 16:49:35.404423+00:00 2024-01-29 16:34:35.829 DEBUG (MainThread) [custom_components.octopus_energy.coordinators.electricity_rates] Finished fetching ELECTRICITYRATES data in 0.425 seconds (success: True) 2024-01-29 16:34:35.829 DEBUG (MainThread) [custom_components.octopus_energy.electricity.current_rate] Updating OctopusEnergyElectricityCurrentRate for '' 2024-01-29 16:34:35.830 DEBUG (MainThread) [custom_components.octopus_energy.electricity.previous_rate] Updating OctopusEnergyElectricityPreviousRate for '' 2024-01-29 16:34:35.830 DEBUG (MainThread) [custom_components.octopus_energy.electricity.next_rate] Updating OctopusEnergyElectricityNextRate for '' 2024-01-29 16:34:35.830 DEBUG (MainThread) [custom_components.octopus_energy.electricity.off_peak] Updating OctopusEnergyElectricityOffPeak for '' 2024-01-29 16:34:35.843 DEBUG (MainThread)

coleburg commented 5 months ago

Ignore me, I went into the entity and it was disabled (didnt even know that was an option) enabled and all working like a dream. Sorry for wasting your time.

thanks

BottlecapDave commented 5 months ago

No problem. I was about to suggest this :)