Basically as the title says, for years now I have avoided using card-mod as it literally just renders my dashboard unusable. It can take like a minute to load my dashboard, trying to navigate the dashboard is extremely and painfully slow and unresponsive.
If I switch out of my HA tab, and then back in, it just doesn’t load, its just white. Maybe caching?
I dont know why this is and I feel like I am missing out on some cool shit with card-mod. I am using the Material Rounded Dark Theme.
Any ideas? I have something I want to do with card-mod now.
I would think it’s theme related and not card_mod related. I use an extensive amount of card_mods with no issues. I would suggest switching away from the theme and see if you have the same issues.
If still an issue, work through each card that has card mod has added to see if you can identify a specific card.
Make backups of your lovelace configs and ensure they are downloaded to a PC so it’s easy to restore the code.
Thanks, I am trying this person card, with background fill effect to indicate battery %. I am also using multiple, maybe around 20 animated mini-graph-cards.
Also, according to the themes github page, there is a Material Rounded No Mod Dark option.
Both themes implement Material Design 3 redesigns of elements when possible using card-mod. If you have card-mod installed and do not the component redesigns, use the “No Mod” versions of this theme.
The card mod code look ok at first glance. You are blasting your dashboard with this infinite graph animation that has a zero delay setting.
I still am leaning towards the theme. I can do some testing with the Material Rounded Dark Theme. There may be conflicts with card_mod based off what you just posted. I avoid themes for the most part.
Agree. When a theme dev calls out or points out different versions specifically because of a component… There’s definitely something worth looking at.
Even so. Once that’s resolved… I’d be more concerned with mini graph (pulling 48hr history on multiple entities) x20 than Card-mod at this moment. I believe they all have to gather data and paint before they render…
I avoid graphs and cameras for performance reasons to start with and op has 20…
So while I’m sure it looks cool. I bet you have more than one performance issue to address, op.
I have pages of nothing but graphs. I have to scroll to see them all. They load quickly. However I am using Apexcharts to plot 5 minute statistics, not state data.
I’ve used these square mushroom cards for quite some time:
These (standard themed) cards use card mod extensively. Because the dashboard became irresponsive in relatively short time on my browser i decided to take a look into bubble cards.
To make them look like mushroom cards i have to use quite some card mod styling too but somehow i don’t face the freezing issues i had with my previous dashboard. Difference is night and day.
So wether it’s the combination with other elements or just coincidence, i did have issues with card mod that now are gone.