Closed mattjam closed 2 months ago
Hey there @zxdavb, mind taking a look at this issue as it has been labeled with an integration (evohome
) you are listed as a code owner for? Thanks!
(message by CodeOwnersMention)
evohome documentation evohome source (message by IssueLinks)
Thanks for you submission of this issue.
I must admit, this really smells like an issue restricted to your system (rather than a problem with HA's source code).
I note you can do this:
$ pip list | grep evohome
evohome-async 0.4.20
evohomeclient 0.3.7
... so, I suggest you go to the CLI and issue this command:
pip uninstall -y evohome-async evohomeclient
... and restart HA.
My expectation is that this should resolve the issue for you.
For now, I am closing this issue, but do add a comment if that doesn't sort things out for you.
Thanks, I tried that but it's still not working.
My steps were: (already running 2024.6.4)
pip uninstall -y evohome-async evohomeclient
pip uninstall -y evohome-async evohomeclient
Your running core (why?) - Did you run setup/script
?
I would just delete the venv & start again with that.
I've run core since the beginning, it's still meant to be supported and it's not caused any issues.
I tried a brand new venv on python 3.12 and 2024.8.1, but still no luck :( What/where is setup/script
?
There were a bunch of evohome changes in 2024.7 (https://www.home-assistant.io/changelogs/core-2024.7) and that's the version that started having issues
I've run core since the beginning
I run core for dev - it is not really suitable for end-users. Please consider migrating to Hass OS.
What/where is setup/script?
Sorry, I miss-typed - it's script/setup
.
There were a bunch of evohome changes in 2024.7 (https://www.home-assistant.io/changelogs/core-2024.7) and that's the version that started having issues
But the problem is: it appears only to cause issues for you?
If a new venv with script/setup
doesn't do the trick...
Are you still seeing this:
$ pip list | grep evohome
evohome-async 0.4.20
evohomeclient 0.3.7
Do you have a custom component somewhere (with an older copy of evohome)? Is your core folder corrupt?
I am sorry I cannot help more.
Thanks zxdavb, I have some custom components, none mentioning evohome, but I tried a fresh install without them and still the same.
I tracked it down to evohomeasync/
and evohomeasync2/
not being present in /srv/homeassistant/
's lib/python3.12/site-packages/
. I don't know how to install them manually so I copied them over from a 2024.6.4 backup and things now work. I don't know enough about how the site-packages work, but maybe it's not an issue with the evohome integration, but instead whatever manifest is used to download/populate that directory.
Shame that it's just me having this problem, but maybe these breadcrumbs might help if someone else runs in to this
I don't know how to install them manually so I copied them over from a 2024.6.4 backup and things now work. I don't know enough about how the site-packages work, but maybe it's not an issue with the evohome integration, but instead whatever manifest is used to download/populate that directory.
HA should copy these for you, using evohome's manifest. I do not know why it has not, but I suspect your system is corrupt.
The fact is: Your work-around is a recipe for disaster.
I most strongly advise you to switch to using a consumer-level version of HA such as HA OS.
The problem
In versions 2024.7.0 to the latest (2024.8.1), the evohome integration fails to load
What version of Home Assistant Core has the issue?
core-2024.7.0
What was the last working version of Home Assistant Core?
core-2024.6.4
What type of installation are you running?
Home Assistant Core
Integration causing the issue
evohome
Link to integration documentation on our website
https://www.home-assistant.io/integrations/evohome
Diagnostics information
No response
Example YAML snippet
No response
Anything in the logs that might be useful for us?
Additional information
I have these installed in my python venv:
$ pip list | grep evohome evohome-async 0.4.20 evohomeclient 0.3.7