Quantcast
Channel: Configuration - Home Assistant Community
Viewing all articles
Browse latest Browse all 98963

Moving from manual install to HACS: lovelace custom cards

$
0
0

@f00dagi wrote:

Hi!

I am lost, please help.

I had a perfectly working setup where I used custom cards: layout-card, button-card, slider-entity-row, card-tools which I had installed manually. To facilitate management (updates, …) I moved to HACS some time ago. I used a stepwise approached and replaced card by card from manual install to HACS and everything seemed to work fine (even after reboot). Now, suddenly everything came crashing down and I cannot get the custom cards to load anymore. I really want the cards to load by using HACS and don’t want to move back to manual installation.

My HACS custom-cards got installed here:

\\192.168.1.242\config\www\community\button-card\
\\192.168.1.242\config\www\community\lovelace-card-tools\
\\192.168.1.242\config\www\community\lovelace-layout-card\
\\192.168.1.242\config\www\community\lovelace-slider-entity-row\

Question 1: How do I get Home Assistant to look in these folders when trying to find the custom cards?

My manual installation were in different folders that I had created based on instructions I found.

Question 2: To get the manual installations working I also had to have these resources in ui-lovelace.yaml. Do I need these when using HACS and what should the path look like?

resources:
 - url: /community_plugin/button-card/button-card.js
   type: module
 - url: /local/plugins/layout-card.js?v=1
   type: js
 - url: /local/slider-entity-row.js
   type: module
 - url: /local/plugins/card-tools.js?v=1
   type: js

The error message I get for all my cards are like the picture below. Custom element doesn’t exist: button-card.
Capture

Question 3: Any thought on why I did not get the error messages right away? Browser cache? Different types of home assistant reboot? I reboot from UI.

Thanks!

Posts: 2

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 98963

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>