Giter Club home page Giter Club logo

Comments (8)

cyberjunky avatar cyberjunky commented on June 12, 2024 1

I have put the google assistant one in toon_google directory.
Still have to fix switching modes and manual.
Will try to look into this today.

from home-assistant-custom-components.

cyberjunky avatar cyberjunky commented on June 12, 2024 1

Did you look at the repo, read the README.md file and looked into the toon and/or toon_google directory?

You can find the climate.py file inside it (which is simply the old toon.py file) and a empty __init__.py file, both need to be copied (like the README described) to your toon dir, and you must remove the old toon.py file.

I use them with 0.89.1 without issues.

from home-assistant-custom-components.

cyberjunky avatar cyberjunky commented on June 12, 2024

Update your components from repo. They should be fixed.
If you use the google assistant version, I will fix this later today.

from home-assistant-custom-components.

pdwonline avatar pdwonline commented on June 12, 2024

Thanks! I updated them and the smartmeter is working again! However, the Toon climate component is not (same error)

from home-assistant-custom-components.

cyberjunky avatar cyberjunky commented on June 12, 2024

Do you use the google assistant one? (from issue #13) or the default one from toon repo directory? The last one should work.

from home-assistant-custom-components.

pdwonline avatar pdwonline commented on June 12, 2024

I used the default climate component from the toon repo directory and placed it in the folder 'custom_components/toon' but it doesn work. still getting this error:

Traceback (most recent call last):
  File "/usr/src/app/homeassistant/helpers/entity_platform.py", line 124, in _async_setup_platform
    task = async_create_setup_task()
  File "/usr/src/app/homeassistant/helpers/entity_platform.py", line 89, in async_create_setup_task
    None, platform.setup_platform, hass, platform_config,
AttributeError: module 'homeassistant.components.toon.climate' has no attribute 'setup_platform'

Up to 0.88 it worked fine

from home-assistant-custom-components.

pdwonline avatar pdwonline commented on June 12, 2024

Probably it has something to do with this change: home-assistant/core#21070
Does it mean I have to include a climate component also in the same folder? (and where do I get that component?)

from home-assistant-custom-components.

pdwonline avatar pdwonline commented on June 12, 2024

You'te right, i missed the init.py file! Thank You!

from home-assistant-custom-components.

Related Issues (20)

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.