Bugs are terrible. If you maintain a custom card, you probably take your card for a few test drives before you release a new version.
I wanted to automate these checks, but couldn’t find much online about writing tests for Lovelace cards, so I made my own library to help with the hard parts of automating the process: setting up Home Assistant, installing cards, etc.
You can check it out on GitHub here! I appreciate any feedback.
And if you’d like to see an example of this being used, I’ve been dogfooding the library on my own card, timer bar card. I have CI and the whole shenanigans there.