I apprecite that this is a fairly broad question but something is holding back my adoption of some of the great multi-faceted Mushroom cards in this thread.
Why are Mushroom template cards are seemingly so resource intensive ?
As soon as I deploy them my resource use rockets to the point that a R Pi4 become unusable and a VM on Proxmox with 2 cores from an i7 and 8GB slows too.
Is there an obvious explanation for this and/or a way to mitigate it beyond just throwing more and more horsepower at the problem ?
Edited to send an @ to @piitaya who is the founding father @rhysb who has been the most remarkable adopter !
I have a similar piece of code that I just haven’t been able to get working since the update. I swapped out ha-icon to ha-state-icon and for some reason this one icon doesn’t animate while other ones with similar code do
Would it be possible to do the same on chips? I’m trying to figure out how to use the entity picture as the icon. I’m using a template chip because I would like the border of the chip to be green if binary sensor is on. I’m already using this on a entity card but it doesn’t work copy paste to a chip:
Thanks! (and also to others answering). This indeed works like a charm again. Now to do about 50ish icons (among others all my chargeable battery indicators icons where customized to show an icon based on how full they are and show an animated icon if they are charging )
Each template is evaluated on the server via web socket to get the jinja2 support. If you only use one entity per template, it should be ok.
But if you have many complex templates and many my templates, it will be cpu intensive. Do you have a example of template card config you use?
Performance is the main reason we don’t propose template support to tile card yet.
It relates to the breaking change where ha-icon is now ha-state-icon for Mushroom cards.
Try to replace all your references to ha-icon to ha-state-icon instead.
Also then refresh browser cache/app cache.
Just changing that fixed most animations for me. But a few needed a few more modifications. If it still doesnt work after changing to ha-state-icon post your yaml and i will try and look to see if i can get it working for you