Does it work w/o decluttering card?
Good. Now try to simplify you browser-mod code as much as possible for testing.
But I think, it is already simple.
Now probably you should go to the huge browser mod thread with this simplified code & ask there.
p.s. I am not using browser-mod myself, cannot help(
Thanks! You are right, and that’s the way.
Just to let you know, and although I don’t have an explanation, if I replace all normal button
cards with custom:button-card
it works:
No. This is not good. You need to find out with a standard component. Probably the error is still there.
You are right, it surelly is somewhere, but in fact, all my other popup cards, with complex remotes, are done using custom:button-card
, that was the only difference that I spotted. Trying to simplify led me to this… If I manage to find the error I will report back.
Hi All,
just started looking into decluttering templates, but even after consulting thils whole chain I didn’t manage to get the simplies thing to work:
Resources:
configuration.yaml
templates.yaml
use:
Could you please enlighten me, what I’m doing wrong?
You placed decluttering templates into a file which supposed to have template sensors.
Read Docs in repo.
Thanks.
I created a Test tab with a decluttering button card:
Still getting the following:
Any idea?
Thanks
Templates are defined per dashboard, not per view.
okay: moved to the top of dashboard in the raw config. Now I got this:
It shows you the exact error. Compare with an actual name of the card.
Thanks Ildar for your time.
Being a beginner, and in 3 days I didn’t find a normal, simple sample/description on the usage, I’ll abandon it, will manage the dashboard without templates.
Never give up, never surrender)
If you are using a storage-mode-dashboard - open “raw yaml configuration” & paste your templates there:
thanks Ildar.
I did this:
I wanted to replace the green highlighted card (which is working) with calling the template.
And it says:
where is the mistake?
hyphen -
custom:button-card
tried
yep. You are right, my mistake… Unfortunately I took the hypen to be put before type.
Thanks for your kind support!