it was my tinkering with template because ordinary card doesnt work and no options to change there.
I had all runing great for a year, and after one HA update, all my temps and voltages went to trash decimals
Sorry to keep coming back to this, but is there anyone that has managed to create a ring (like used for charging) around the icon in the new style? I can’t get this to work.
I’m not using Mushroom 5.x (yet), but, from what I’ve read, it is more Tile card than Mushroom card. Personally, I think it’s brilliant what’s being done; albeit, frustrating at first.
To answer your question: Yes, as best I can tell, there is no built in animation for “pulse” or “spin” in the Tile card, which is what the new Mushroom template card (Mushroom 5+) is based on.
I’ve been struggling with this for a while and no AI could figure it out.
If I have this example chip with animation, how can I make it reusable for other views, to be added between other chips? It’s not nice having to add everything in multiple places, make sure to keep the animation nth child accurate and so on.
I tried with decluttering_card, I tried to add the animation under the chip, not under the whole card, but nothing worked…
Just discovered that you can also restore the icon background by simply specifying an action for the icon, even if it’s the default ‘more-info’ action. So adding:
icon_tap_action:
action: more-info
restores the background, without having to use card_mod.
IF… you want an action on that card/icon. Apparently, you can also set the action to “null” and that will bring the “background” back but also invalidate the WebUI, so you have to work in YAML. I haven’t tested that, just reading stuff.
My example was meant to say that the specific dishwasher chip sits between other chips, and I want to extract it as a template somehow to be easily reused in other chips cards in other views. And I can’t seem to figure it out since the animation is defined to :nth-child on the whole card, not the individual chip
Is there a page where we can see CSS examples related to tile cards, like the ones Dimitri made? I’m having a really hard time adapting my current designs to tile cards. I think I might give up after a while.
And do you how this :
–shape-color: orange !important;
Little shape lifting code applied to the new template card ?