As far as I know this seems to be a decluttering-card problem. Which (unfortunately) my entire config is built on. I believe there are already issues opened on their github repo. But I know the dev of that card is busy lately. I don’t have anything from google so I can’t test it for you either. If I know more I will reply to you here.
I also have a single button for my cover… So a single press is toggle action… I create a conditional button here…so if open, it closes, if closed, it opens… And a long press to give the stop command
Hello!
You did the most awesome design with lovelace! I really admire your work!
I wanted to insert those buttons on my setup, but after one entire Day I’m very tired and confused… So please give me an advice!
What I did:
I copied your button.yaml file
I install decluttering card
In resources I added The code
in ui-lovelace.yaml I pointed The way for templates
Ok first question, do you have the includes, which your config is referencing to? If not please comment out those lines or remove them for the time being. Also I have found an error which has to do with the post below:
Sometimes (and as well in my own case) HACS doesn’t really downgrade it. What you should do is go to the repo of button-card, download the 2.0.5 release and overwrite your current button-card with that version. In my case downgrading with HACS does nothing, uninstalling it and installing it again with HACS would install the newest version for me regardless.
Please download the file manually, and try again.
Edit: if that doesn’t work either, just go to 2.0.4 and upgrade to 2.0.5 from that version.
This release only contains a hotfix for the latest version of button-card (v.3.0.0) which broke the card on this configuration.
v. 0.13.3
Fixed button template for use with button-card v 3.0.0
Changed version number in /lovelace/views/about.yaml to 0.13.3
No other changes
Update guide:
If you use my templates you will only need to overwrite the old template with my new template. The only 2 files in this release that have changed can be copied over your old ones.
/lovelace/templates/button.yaml
/lovelace/views/about.yaml
The above two files are already in your config, please use the ones from 0.13.3 instead!
If you have completed these steps your button-card should be working again. Sorry for the inconvenience, but this was out of my hands.
Edit: For the ones wondering why I am silent on releasing new videos, that is because I am waiting on the means to get myself a better computer as this one is old, extremely slow for video editing (it works fine for gaming as which it was intended to do when I bought this in 2014) and it really is needed to upgrade badly (even for simple Home Assistant work this is important).
Expect me working a lot more on videos and home assistant in the next few months, but first I will have to wait for the computer which I hope I can get within a few weeks.
Im am totally lost and I think I will lose my mind with these! I don't realize where Im wrong!
HACS - updated button-card plugin - updated to 3.0 button.yaml - updated few minutes ago and located in /config/lovelace/templates/button.yaml includes are in resources.yaml
Ok, I have a question, do you use my entire setup, or did you only copy the decluttering templates?
If it is the last one, note that some elements only work if you have a few input_selects and automations. If you don’t use those please change the following lines in button template and quick-access-menu template.
Change border-radius and box-shadow in these files.
Jim, you saved me!
Yes, I only copied the button template and nothing else! That was my need
After I made those modification it return me the buttons, but in another style
I must to copy all your setup or maybe others files for the buttons look like yours?
@jimz011 Hoping you can help me out with this… The new custom button card 3.0 promises to include any card inside it. So I would love to integrate a slider inside a button. Something like this:
(As you can see I’ve been messing with it )
I’ve been experimenting, but the slider simply won’t show up inside the card. This is the button YAML I’m trying:
Do you perhaps have any idea how to proceed? Many thanks in advance!
To be transparent, I have not copied your setup fully, but I did use it for inspiration. So I am using your button template from a few versions back (0.12.x).
No problem, actually I haven’t played with these new configurations yet as I am working on rewriting a lot of stuff for the upcoming update. However I can take a look for you whenever I have the time.
As a sidenote, this is a thing I am going to implement in the upcoming days/week and thus I will adjust the template for it appropriately. I will take a look for you before that. Unfortunately I do not have much time at the moment.
For the people out there that can’t wait for the upcoming update, here is a preview screenshot. Note that this is likely bound to change a lot before release!