Auto-generate dashboard groups?

I adapted @Christian-Me remote device table to do something similar -