@stevland Happy to hear this worked for you almost fully!
As far as I’m aware, to populate a Markdown card on a dashboard page, you need to use an input text helper, which unfortunately is capped to 255 characters. This script typically outputs much more than that, depending on the number of devices/domains/attributes. This could just be a limitation of my own knowledge and if you or anyone knows of a helper or method I could look into to bypass that 255 character limit, I’d be happy to implement into the script. I have gotten it to work for less than 255 characters, however. I’m fixing some bugs but I’ll try to release an update soon.