Giter Club home page Giter Club logo

Comments (7)

jwmaas avatar jwmaas commented on June 8, 2024

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 :
image

I also changed the call frequency to 600 seconds.
One of these solutions did the trick.

from evohome-async.

Ingo-Klein avatar Ingo-Klein commented on June 8, 2024

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.

Ingo-Klein avatar Ingo-Klein commented on June 8, 2024

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.

jwmaas avatar jwmaas commented on June 8, 2024

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.

Ingo-Klein avatar Ingo-Klein commented on June 8, 2024

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.

smarthomefamilyverrips avatar smarthomefamilyverrips commented on June 8, 2024

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 : image

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.

jwmaas avatar jwmaas commented on June 8, 2024

That was my usual approach that did not work this time for some reason.

from evohome-async.

Related Issues (11)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.