Has something changed with the use of mod-card since 2022.3 or a recent card-mod upgrade?
Yes, Iāve read the instructions and as the read-me says āI know what Iām doingā. In fact I have been using this successfully for well over a year.
Now I have upgraded to 2022.03 and I get this error
I took it as a sign that with constant changes to the frontend, the writing is likely on the wall for the mod_card trick (I should underline of course that this is not official in any way), so I ended up replacing all my styled horizontal-stack and vertical-stack cards with Custom Stack In Card
It has a ha-card element so can be more easily styled with the standard card_mod approach.
I use a picture-glance (in a vertical stack card) for my camera and am pleased with the result in general.
The only downer is that it takes a short while before the image is loaded, but just enough to be annoying.
The picture-glance is the top card and just when you want to tap a button, the image is loaded and so the button jumps to a lower position in the screen.
I am wondering if itās possible to somehow set a predefined height. Unfortunately am too new to the Card-mod to figure it out by myself. Anyone a suggestion how to solve it?
Try to find your solution here: 1st post -> link at the bottom -> post with styles -> post for Picture Glance card
If no solution is present then come back with a more detailed description.
Hi,
thanks for this mod.
I want to create a simple card with big time numbers.
What Iāve tried is very simple. Color and weight change is working, but font and size donāt work. Increasing the font size does result in a bigger space at the top of the card, but the size of the numbers stay the same. Any suggestion?
Thanks for that, I was just about to install Custom Stack In Card via HACS when I saw that Card-Mod had an update. I updated and it seems to work againā¦
btw I dont use the vertical-stack-in-card, had too many issues with that in the past
I always try an entities card first (can throw anything in an entities), or a core stack (either horizontal or vertical). Grid card is magic.
if nothing of these does what I need, I might resort to stack-in-card , but it always gives trouble when using fold-entity-rows and needs heavy card-modding in that situationā¦
but, I have to admit, it seems to be the easiest card for concatenating images/buttons in a single row.
though I very often see this happening:
first load after a lovelace refresh shows perfectly:
Iām currenlty not sure, where is the node in your thoughts. The vertical-stack-in-card was an example. You can use whatever around the grid, as long as it brings an ha-card element to start card-modding. So yes, it will work, as long as you are using my examples and not elaborating whyever new ideas, which are of course not working. I showed two ways. Both are working with mod-card as well.
well, I am doing that with a purpose, and have done so from the start. This is not the only grid card in the vertical-stack. I can not set it on the stack for that matter.
no node, just exploring different options. of all of the options, this seems to be the most stable. SO thank you very much!
final solution, a perfectly adjusting row of 10 buttons, no gap, no box-shadow (set in the individual cards), and no peeking background color (as on the stack-in-card)
which is a mod Ive been looking for since a very long timeā¦ #TIL
this can replace a lot of other stuff in the config, and is so concise.
once you see it it is so obviousā¦