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

All entities unavailable #108

Open
chemicalandy opened this issue Jan 29, 2025 · 2 comments
Open

All entities unavailable #108

chemicalandy opened this issue Jan 29, 2025 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@chemicalandy
Copy link

chemicalandy commented Jan 29, 2025

What happened?
I removed the HACS integration and installed the official version. However there are only 6 entities in this version and it would have been a lot of work to change my automations. I removed the official integration and re-downloaded the HACS version. The device was created correctly but all entities show as unavailable. (Some do have a history with readings after the re-installation)

To Reproduce
Repeated installation of the core integration. The entities in this were also unavailable (I don't know if this was the case the first time). Re-installed the HACS version and re-started Home Assistant, but all entities remain unavailble. Tried re-loading the integration several times.

Log Output
No logs that indicate a problem. There are several entries similar to this:
2025-01-29 14:53:59.130 DEBUG (MainThread) [homeassistant.components.ohme.coordinator] Finished fetching Ohme Charge Sessions data in 0.337 seconds (success: True)
2025-01-29 14:53:59.251 DEBUG (MainThread) [homeassistant.components.ohme.coordinator] Finished fetching Ohme Advanced Settings data in 0.627 seconds (success: True)

Home Assistant Version
2025.1.4

Integration Version
1.1.1

Update
Restored a backup to get it working again. Now back to version 1.1.0.

@chemicalandy chemicalandy added the bug Something isn't working label Jan 29, 2025
@wralb
Copy link

wralb commented Jan 30, 2025

Don't know whether this experience is the same as for chemicalandy, however I thought I would share.

I also moved to the 'official' version then reverted to the HACS version pending Dan re-adding some features I use. I had had 1.1.1 prior to moving to 'official'.

I also found entities were unavailable on my dashboard and my automations didn't work after reverting from official to 1.1.1. The issue here was that the entity names retained the new format on reversion: e.g. where '...ohme...' is replaced with "...ohme_home_pro...". Updating the entity names in automations and dashboards allowed me to have 1.1.1 working again.

@dan-r
Copy link
Owner

dan-r commented Feb 2, 2025

This behaviour is likely to do with some changes that I made around 6 months ago. As @wralb mentioned, entity names now include the name of the charger rather than just ohme_, but if you'd configured the installation before that, you'd still have the old format.

I'd recommend giving the official release a go with 2025.2.0 when it comes out (or the beta is out now if you're feeling risky). The missing entites as of this version are:

  • Sensors/Binary Sensors related to charge slots, although this information is available through a service call.
  • Voltage reading - never really saw the point in this one
  • Solar boost
  • Preconditioning - working on this
  • Price cap

I appreciate that this is disruptive and really appreciate your patience with this migration. If any of these are important to you, I'd appreciate raising an issue/feature request on the home-assistant/core repo, gives me something to work against.

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

3 participants