Comments (7)
I solved this issue by painstakingly following the wiki for multiple evohome locations. Then I decided to change the execution rights of the custom component files as follows, as suggested by @sesame26 :
I also changed the call frequency to 600 seconds.
One of these solutions did the trick.
from evohome-async.
same problem:
Logger: homeassistant.setup
Source: setup.py:332
First occurred: 18. Dezember 2023 um 00:44:54 (1 occurrences)
Last logged: 18. Dezember 2023 um 00:44:54
Error during setup of component evohome_1
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/setup.py", line 332, in _async_setup_component
result = await task
^^^^^^^^^^
File "/config/custom_components/evohome_1/init.py", line 265, in async_setup
await broker.save_auth_tokens()
File "/config/custom_components/evohome_1/init.py", line 445, in save_auth_tokens
user_id = self.client_v1.user_data["userInfo"]["userID"] # type: ignore[index]
~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^
KeyError: 'userInfo'
I have the same problem..
I have already re-downloaded several times.. set chmod rights to 777... set the frequency to 600 seconds.. all without success
from evohome-async.
What I also noticed:
location_idx integer (Optional, default: 0)
Only 0 is accepted now... that wasn't the case before either... that's not a problem for me because I have separate accounts. but I noticed this when testing
from evohome-async.
Other things I always do:
- delete all references to evohome in the .storage directory
- delete the files in the __ pycache__ directory in your custom evohome directory in custom components
- do a real cold start
from evohome-async.
the solution was:
delete all references to evohome in the .storage directory
(then it works again with the old chmod rights)
Excellent ! Thanks alot
from evohome-async.
I solved this issue by painstakingly following the wiki for multiple evohome locations. Then I decided to change the execution rights of the custom component files as follows, as suggested by @sesame26 :
I also changed the call frequency to 600 seconds. One of these solutions did the trick.
@jwmaas nice to see my suggestion did help you, I also had same problem but just downloading the raw files from HA core files on github and replace the files in custom folder with these (after first manual adjusting the const.py and manifest.json with correct values) did do the trick for me.
Out of curiosity with call frequency you mean setting the scan_interval?
from evohome-async.
That was my usual approach that did not work this time for some reason.
from evohome-async.
Related Issues (11)
- Multiple Evohome wiki. Version number not being added to manifest.json - prevents starting HOT 1
- schedule backup: object of type 'NoneType' has no len() HOT 21
- Created a script for creating/updating the "multiple evohome locations" in custom_components. Can you add it to the wiki? HOT 4
- Multiple Locations: `Config error: 'location_idx' = 1, but the valid range is ...` HOT 6
- Evohome presets - Setting 'Home' mode actually activates 'Day Off' HOT 10
- More than 1 location - help please! HOT 2
- Home Assistant custom repo error HOT 4
- HACS compliant HOT 1
- Battery status HOT 1
- Home Assistant: Multiple Evohome Locations WIKI not working HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from evohome-async.