sbryfcz / harmony-card

A Home Assistant Lovelace Care for Harmony Integration
MIT License
104 stars 12 forks source link

Not Loaded #48

Closed SHadley1138 closed 3 years ago

SHadley1138 commented 3 years ago

hi there im quite new to HACS, but i cannot get this card to load. It just has a red bar, and Not Loaded rebooted a million times a bit lost on how to troubleshoot it, any help would be appreciated image

notryanfraser commented 3 years ago
frontend:
  extra_module_url:
    - /local/community/harmony-card/harmony-card.js

I added that to my configuration.yaml (if you already have frontend.extra_module_url, just add the line item for the JS file) and that seemed to work. Getting my card to render on the other hand...

hope this helps :D

SHadley1138 commented 3 years ago

Thanks for that. It took the config, but nothing

Thanks for the help. I’ll keep searching

On 24 Nov 2020, at 22:33, TheBigNoob notifications@github.com wrote:

 frontend: extra_module_url:

  • /local/community/harmony-card/harmony-card.js I added that to my configuration.yaml (if you already have frontend.extra_module_url, just add the line item for the JS file) and that seemed to work. Getting my card to render on the other hand...

hope this helps :D

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.

notryanfraser commented 3 years ago

That's disappointing, does your web browser console show anything like this (or perhaps an error that it can't find the javascript?)

image

lee-js commented 3 years ago
frontend:
  extra_module_url:
    - /local/community/harmony-card/harmony-card.js

Where did you find this information? I can't see this anywhere in the instructions.

What is in the instructions doesn't actually work anyway. I had to use /hacsfiles/harmony-card/harmony-card.js.

Even with that loaded I can't get the card type to show up when adding a new card to Lovelace.

notryanfraser commented 3 years ago

I ran into the same issues with the documentation. I ended up just using some deductive reasoning and loaded it in where it was in the file system as an extra_modulre_url. It seemed to pick up after that. I took a bit of fidgeting with but I have got the harmony cards to load finally.

[image: image.png]

On Tue, Dec 1, 2020 at 9:35 AM lee-js notifications@github.com wrote:

frontend: extra_module_url:

  • /local/community/harmony-card/harmony-card.js

Where did you find this information? I can't see this anywhere in the instructions.

What is in the instructions doesn't actually work anyway. I had to use /hacsfiles/harmony-card/harmony-card.js.

Even with that loaded I can't get the card type to show up when adding a new card to Lovelace.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/sbryfcz/harmony-card/issues/48#issuecomment-736630242, or unsubscribe https://github.com/notifications/unsubscribe-auth/ALKIGY5LDU5WVK6BBYTIQDLSSUELZANCNFSM4UBCYWVA .

github-actions[bot] commented 3 years ago

This issue is being marked as stale due to lack of activity