New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
All templates missing #6
Comments
Hi Carlos, Can you please double-check that when you cloned the repository it created the folder |
Hrmmmmm I see, just a few more qualifying questions then:
|
Hey Will, Thanks for your continued attention to this. I'll answer the questions to the best of my ability.
Dashboard code:
|
Hi again Carlos, When you say "The code for each card is in its respective dashboard" do you mean each dashboard has it's own yaml file that is included in Another thing I noticed is that the first line of your dashboard code is |
I had a read over this again and I'm fairly certain the issue is that you are redefining If you wish to add your own template |
Hi Will, I think I misunderstood your question about the code for each card. I'm brand new to Home Assistant and YAML in general. It does seem like the code you were asking about is in ui-lovelace.yaml. I'd be happy to provide it (or an excerpt) if it'd help. I did create a brand new testing dashboard and attempted to create a new custom button card with template "title" and was still greeted with the same "Button-card template 'title' is missing!" error. I also noticed that if I change the first line on my dashboard to anything else, it breaks the "picture_button" items. Any hope for this, or should I just burn the whole thing down and start over? Thanks again for your continued attention to this. It's greatly appreciated. |
@cgagliano Sorry for the delay on getting back to you here. I just had a look at this with fresh eyes though. Hopefully you still want to try and get it working? I think I made it a tad confusing because I assumed by the way you asked the question that you are using your dashboards in YAML mode, but I should have asked. Do you have dashboards configured in yaml mode and are editing them in the YAML files or are you editing dashboards within the Home Assistant user interface? Either way it looks as though you are overriding the
Sorry I didn't pick this up first time round - if you are able to enclose any code you post in a code block (surrounded by three (3) backticks) that would be a massive help moving forward. I'm precious and can't read the code properly without syntax highlighting and formatting, haha. Hope this isn't too late and helps you to solve the issue. |
Hi @wfurphy! Thanks so much for the continued attention to this. And no worries! I understand that we all get busy. In fact, I'm kinda going through it right now. I haven't had a chance to fully review your last message, but I'll take some time this week and I'll keep you posted. Thanks again! |
Hello there,
Wanted to bring up an issue I've been having. I've followed your instructions for installation; from a Home Assistant terminal session I've navigated to where the ui-lovelace.yaml is located and cloned this repository. I've also added the following to the top of my ui-lovelace.yaml file:
button_card_templates: !include_dir_merge_named creative-button-card-templates/
Each time that I attempt to use one of the templates, I get the same error:
Button-card template 'title' is missing!
type: custom:button-card
template: title
Any guidance or direction would be greatly appreciated.
Thanks!
Carlos
The text was updated successfully, but these errors were encountered: