GithubHelp home page GithubHelp logo

Configuration Trouble. about wiz_light HOT 5 CLOSED

sbidy avatar sbidy commented on July 16, 2024
Configuration Trouble.

from wiz_light.

Comments (5)

chrisbl01 avatar chrisbl01 commented on July 16, 2024

The custom_components dir should be created in /config or where the configuration.yaml file is located.

I'm pretty new to HA as well, if you have the supervisor in the sidebar it's worth installing "file editor" from add-ons.

from wiz_light.

Penguin-Guru avatar Penguin-Guru commented on July 16, 2024

Installing it there seems to produce the same effect. I just noticed "requirements.txt". Should I install pywizlight separately? Their instructions say to use pip, but I can't find pip installed or available as an add-on.

from wiz_light.

sbidy avatar sbidy commented on July 16, 2024

Please have look into the HA documentation for custom components for install this. This integration is currently not pushed to the HA core.
If you have installed/copied the component to the folder you have to restart the HA instance because the pywizlight package hast to be installed first. Please have also a look into the log at the startup.

from wiz_light.

Penguin-Guru avatar Penguin-Guru commented on July 16, 2024

I managed to fix the problem but I'm not entirely clear on how. I couldn't find the documentation you suggested so I asked about it in HA's Discord channel. They told me to install HACS, which probably worked but I was confused about something and can't say for sure. In any case, I repeatedly deleted both installation directories and reinstalled one or the other, restarting between installs, uninstalls, or both. After a few times the problem was resolved (without actually using HACS). May or may not be related to adding HACS to the Integrations panel (and not using it at all) or commenting out all wiz_light lines in configuration.yaml, restarting, uncommenting them, then restarting again. Sorry if this seems like nonsense but that's really all I did. Also, I suppose, clearing the log and notifications several times. Anyway, it seems to be working well now. Maybe there was some glitch because I just installed HA for the first time on new hardware.

from wiz_light.

sbidy avatar sbidy commented on July 16, 2024

Sometimes HA doesn't recognize the customer component correctly and miss the pip package in the manifest file. That why it is necessary to restart the HA server after copying the custom component.

In the future this integration is part of the HA core (hopefully).

from wiz_light.

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.