ui-minimalist-guide icon indicating copy to clipboard operation
ui-minimalist-guide copied to clipboard

Button-card template 'card_esh_welcome' is missing!

Open robs23 opened this issue 3 years ago • 2 comments

https://github.com/EverythingSmartHome/ui-minimalist-guide/blob/6684dc346eb7a728a6d976721a5ce4c893e00242/dashboard/ui-lovelace.yaml#L2

I'm getting Button-card template 'card_esh_welcome' is missing! error. What puzzles me is that for button card templates we're refencing file in "../../custom_components/ui_lovelace_minimalist/ui_minimalist/ulm_templates/", and we're placing custom_card_esh_welcome in "ui_lovelace_minimalist/custom_cards/". Tried many different things and can't get it to work. Perhaps you could take a look?

robs23 avatar May 22 '22 20:05 robs23

Hey @robs23 I just ran into the same issue. I have managed to fix it by doing the following steps Create a folder called "card_esh_welcome" here "/config/custom_components/ui_lovelace_minimalist/ui_minimalist/ulm_templates/card_templates/" Then create a file "card_esh_welcome.yaml" and paste the code from the template section in the readme Then after a refresh I was able to get the card working.

This could also probably work if you added an additional include a separate template directory in the custom cards directory but I went for the quick and easy route. Good Luck

MichaelToryusen avatar May 30 '22 21:05 MichaelToryusen

Usually this error occurs if you have forgotten to restart minimalist after copying the custom card to the folder. No need to create any sub directories or anything - the way shown in the video and in the sample code is the correct way still.

EverythingSmartHome avatar May 30 '22 21:05 EverythingSmartHome