Enhancing Home Assistant with Lovelace Card Preloader

I recently came across an interesting solution for optimizing the performance of Home Assistant after the 0.107 update. The Lovelace Card Preloader has been a lifesaver for me, especially with some custom cards that weren’t updated in time. Here’s how I implemented it and the benefits I’ve noticed.The setup was straightforward. I added the preloader to my Lovelace resources and configured it to preload specific cards like markdown and gauge. The key was understanding that while it preloads these cards, it doesn’t fully initialize them, which means I occasionally see minor console errors during page refreshes. However, these are just background noise and don’t affect functionality.One limitation I encountered was that the preloaded cards don’t have valid configurations initially, which explains the errors. But once the page fully loads, everything works as expected. This has been particularly useful for custom cards that rely on specific configurations or for rows within an entities card using the “custom:hui-cardname-card” trick.I’d recommend this solution to anyone experiencing slow card loading or compatibility issues after the update. It’s a simple yet effective workaround that enhances the overall user experience. If you haven’t tried it yet, I encourage you to give it a shot and let me know how it goes!