madmicio / LG-WebOS-Remote-Control

Remote Control for LG TV WebOS
415 stars 76 forks source link

lg-remote-control not working on HASSIO 2021.1.4 #44

Open kalosjann opened 3 years ago

kalosjann commented 3 years ago

Hello, I'm facing challenges with the lg-remote-control script on HA 2021.1.4 (I've installed it through the IOTStack project) I'm getting the following error:

Screenshot 2021-01-23 at 09 14 09

Basically I've placed the lg-remote-control.js script inside the following folder: /usr/share/hassio/homeassistant/config/www/ and then added it into the Lovelace resources as /local/lg-remote-control.js

Please note that I followed the same approach for another js custom components and it working fine. Can someone help me?

Thanks

swap83 commented 3 years ago

yes. Me too. Hassio 2021.2.2

kalosjann commented 3 years ago

I finally solved the issue. I managed to install the extension through HACS, and it worked at the first attempt.

swap83 commented 3 years ago

In the section: lovelace config: default view: There is a - at beginning of the text. Without - the extension works!

SkywalkerPTE419 commented 3 years ago

In the section: lovelace config: default view: There is a - at beginning of the text. Without - the extension works!

Yes that resolved my problem, i just copy/past the example and after that remove the extra "-"