Git Product home page Git Product logo

Comments (12)

dwvaughn avatar dwvaughn commented on September 24, 2024 1

@jlax47 I was referring to the instructions in the GitHub readme. I finally got it working but it never showed up under the "integrations" tab. I think I was ultimately able to get it working by fixing my config file. There was an error in the syntax that wasn't readily apparent.

from kuna.

radiationnow avatar radiationnow commented on September 24, 2024

Same issue for me; its loading, at least to the point where the log gives the "custom component" error, but not showing to add in the integrations page.

from kuna.

jlax47 avatar jlax47 commented on September 24, 2024

@dwvaughn: Which simple instructions? They've changed over time, so if you followed an old guide that might be the problem.

@radiationnow: Can you copy out any relevant sections of the log file?

My integration is still working, so it could be some new problem that's causing it, but I'd be happy to help troubleshoot the issues with you to the best of my ability.

from kuna.

radiationnow avatar radiationnow commented on September 24, 2024

The only thing showing in the log is the usual non-error: "You are using a custom integration for kuna which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you do experience issues with Home Assistant."

I had the custom component working previously with the non-integration version; wiped the directory and re-cloned, then restarted and I don't have the ability to add the integration. (I've tried both with and without the kuna: line in my config.yaml.)

from kuna.

jlax47 avatar jlax47 commented on September 24, 2024

You can remove the kuna line from your configuration. Then I'd restart HA and go to the integrations tab, click the plus in the bottom right corner, and then search for kuna. Then click on it to start the process of adding it.

from kuna.

radiationnow avatar radiationnow commented on September 24, 2024

That's the problem: the Kuna integration isn't listed when I click the plus, so I can't add it.

from kuna.

jlax47 avatar jlax47 commented on September 24, 2024

Ok. I just tested on a fresh install of hassio on a pi4. I followed the instructions and it didn't work on the first try. It turns out I needed two restarts of HA to make it work.

So I ran:

mkdir /config/custom_components
cd /config/custom_components
git clone https://github.com/marthoc/kuna

Then I restarted HA Twice and the integration will show up. If I had to guess, I think what happens is the dependencies are installed on the first restart and become available after the second.

from kuna.

marthoc avatar marthoc commented on September 24, 2024

@dwvaughn @radiationnow if you are seeing that message in the logs re custom component, but aren’t seeing it under the integrations menu, then you aren’t using the latest version of the integration. If you were able to eventually set it up without going through configuration - integrations, then you aren’t using the latest version of the integration, because as of the newest version, you can ONLY set up through the integrations menu.

from kuna.

radiationnow avatar radiationnow commented on September 24, 2024

I just wiped out the directory again, re-cloned ("git clone https://github.com/marthoc/kuna"), and rebooted twice—still shows the "you are using a custom integration" message in the log, still doesn't show up in Integrations when I click the +. No kuna: block in my config.yaml. Running Hassio 100.3. There's no py_cache directory created.

Is there some other bit of cruft from the pre-integration version that might be gumming things up?

from kuna.

jlax47 avatar jlax47 commented on September 24, 2024

@radiationnow Do you have the ssh component for hassio installed? If you do, ssh into it and run:

cd /config/custom_components/kuna
git log -1

See if it has a commit date of: Mon Aug 26 21:21:21 2019

from kuna.

radiationnow avatar radiationnow commented on September 24, 2024

It does.

from kuna.

radiationnow avatar radiationnow commented on September 24, 2024

Updated to 101.3 today and it works now, so who knows what was going on there.

from kuna.

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.