sampsyo / hass-smartthinq

Home Assistant component for LG SmartThinQ HVAC devices
MIT License
281 stars 98 forks source link

HACS Installation #95

Open hros opened 3 years ago

hros commented 3 years ago

I have performed an integration of this repository using HACS custom repositories integration option, and it seems it has been successfully added to HACS: image However, when I try to add it through home assistant's "Add Integration" option, the integration is not available

This could be a HACS<==>Home Assistant issue, rather than something related to this integration I did notice that the wideq directory is not installed Additionally, I should not that I had another LG integration installed previously (SmartThinQ LGE Sensors) which does have an internal wideq directory The other integration does not support LG air conditioners. Is it problematic to have both integrations installed?

hros commented 3 years ago

I did complete the local installation (getting the LG token after executing the example.py and updating the configuration.yaml) To do this, I had to add the wideq subdirectory from git When home assistant is restarted there is a failure notification of starting __init__.py of this integration, pointing to the system wide wideq package which is installed by the other package mentioned above (SmartThinQ LGE Sensors)

igorsantos07 commented 3 years ago

I second the questions here. I tried to do the same: include this package to see if AC is supported in my case, but nothing happens. I can't find the integration in Configuration > Integrations, nor any new sensor as said in the README. I wonder if there's any extra step to be taken (which is not clear from the instructions for HACS), or if it's some sort of conflict between the two WideQ implementations.

kannan-balasubramanian commented 3 years ago

I did the following way and I was able to get it working.

  1. Uninstalled the "SmartThinQ LGE Sensors"
  2. Restarted the HASS.
  3. Added "Custom Repository" within HACS using the URL "sampsyo/hass-smartthinq".
  4. Downloaded the "wideq" folder as zip (I don't have git in my system).
  5. Executed the example.py and got the list of devices. I expected 2 AC but got only 1 in addition to a washer and a few non-WiFi devices.
  6. Updated the "configuration.yaml" with the token, region, and language.
  7. Restarted the HASS and the default dashboard had one entry for AC.
  8. I configured the dashboard and there was an entity for AC.

I expected entities for another AC, Washer, but they were not there, may be due to API version. But I hope the above steps can help you.

Do please note that my HACS version is 1.9.0