Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v10.2.1 Missing Octopus Mini Entities #830

Closed
2 tasks done
wilki2208 opened this issue Apr 11, 2024 · 9 comments
Closed
2 tasks done

v10.2.1 Missing Octopus Mini Entities #830

wilki2208 opened this issue Apr 11, 2024 · 9 comments
Assignees
Labels
bug Something isn't working

Comments

@wilki2208
Copy link

Describe the bug

I upgraded to V10.2.1 last night and found all my Octopus Mini entities became unavailable. Today I downgraded to v.10.1.4 and my entities started working again as expected.

Reproduction steps

  1. Have an Octopus Mini
  2. Upgrade to V10.2.1
  3. Octopus Mini entities become unavailable.

Expected behaviour

Octopus Mini entities to show live data.

Tariff Code

E-1R-INTELLI-VAR-22-10-14-M

Integration Version

10.2.1

Home Assistant Version

Home Assistant 2023.9.3

Fresh Install?

After upgrading

Home Assistant Logs

home-assistant_2024-04-11T11-28-50.446Z.log

Confirmation

  • I confirm that I cannot find my solution within the documentation
  • I confirm that I cannot find my solution within the FAQ
@wilki2208 wilki2208 added the bug Something isn't working label Apr 11, 2024
@alfwro13
Copy link

I'm on 10.2.1 but on Agile tariff and my Octopus Mini entities are fine.

@BottlecapDave
Copy link
Owner

Hello and sorry you're having issues.

Nothing has changed with how the OE mini entities are created or how data is requested. Do you have any errors in your logs when the entities were unavailable?

If not, could you run the integration in debug mode and reload the integration and look in your logs for the text account: { as this will be the raw response coming back from OE which might indicate what's going wrong.

@iambenmitchell
Copy link

iambenmitchell commented Apr 13, 2024

I am also having this issue. I have deleted the integration and added it again, now I am only getting 3 entities for energy and none of them are useful :/

Entities I am getting now:

octopus_energy_electricity_previous_day_rates
octopus_energy_electricity_next_day_rates
octopus_energy_electricity_current_day_rates

I have an Octopus Home Mini too, and the box is checked.

I used to have a widget to show live energy usage, but this is broken now.
image

@BottlecapDave
Copy link
Owner

Do you have any errors in your logs when the entities were unavailable?

If not, could you run the integration in debug mode and reload the integration and look in your logs for the text account: { as this will be the raw response coming back from OE which might indicate what's going wrong.

Without more information there isn't much for me to go on.

My guess is the OE API is not providing all of the information that has been requested.

@wilki2208
Copy link
Author

Do you have any errors in your logs when the entities were unavailable?

If not, could you run the integration in debug mode and reload the integration and look in your logs for the text account: { as this will be the raw response coming back from OE which might indicate what's going wrong.

Without more information there isn't much for me to go on.

My guess is the OE API is not providing all of the information that has been requested.

Not able to find anything with account when I turn on debug and reload the plugin even after waiting 10 mins, the entities just show "unavailable". I can also replicate the issue 100% of the time by upgrading and then downgrading to fix.

Do you have a way for me to contact you so I can better asist?

@BottlecapDave
Copy link
Owner

The partial log you're searching for is [custom_components.octopus_energy.api_client] account: and should appear once the integration is reloaded or after around 60 minutes. If this isn't present, then it might be your account information includes errors returned by HA, in which case I'm looking for a log along the lines of [custom_components.octopus_energy.api_client] Errors in request.

If you're unable to find these logs, then please turn on debug via the instructions in the FAQ, wait around 65 minutes, then turn it off which should produce a logs file. These logs might include sensitive information, so please sanitise as you wish and then either post it here or email me at ha.octopus.energy@davidskendall.co.uk if you feel more comfortable with that.

@StormOli
Copy link

I had the same issue and was getting the following error in the logs

2024-04-22 15:06:19.571 ERROR (MainThread) [homeassistant.setup] Unable to prepare setup for platform octopus_energy.sensor: Platform not found (cannot import name 'ServiceValidationError' from 'homeassistant.exceptions' (/usr/src/homeassistant/homeassistant/exceptions.py)).

I updated to the latest version of home assistant and everything worked as it should.

@wilki2208
Copy link
Author

Looks to have resolved after upgrading to latest HA version

@BottlecapDave
Copy link
Owner

Closing due to lack of activity and it looks like it's resolved by upgrading to latest version of HA.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

5 participants