Giter Club home page Giter Club logo

Comments (5)

wwolkers avatar wwolkers commented on June 11, 2024

just created a pull request for this.

from home-assistant-custom-components.

gerritjonker avatar gerritjonker commented on June 11, 2024

Did you use the new custom component structure? Including __init__.py in every sensor directory?
I also had these errors because HA was using the standard Toon component. The __init__.py is used to tell HA to use the custom component.

from home-assistant-custom-components.

lxz81 avatar lxz81 commented on June 11, 2024

Yes, that was part of the problem. But pull request #21 fixed the imports. Now it is working again

from home-assistant-custom-components.

zuidwijk avatar zuidwijk commented on June 11, 2024

Whats exactly in the init.py ? I can't find it yet...

edit: nevermind!

I guess I had to remove the pychache folder ;-)

from home-assistant-custom-components.

zuidwijk avatar zuidwijk commented on June 11, 2024

An empty file called **init**.py is all there is. See Ron's commit 77b1cb9 (Mar 07, 2019)

I've placed an empty init.py file and removed the pycache folder and that worked! Great job/fix again!

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.