Configure badges to show state of light group like sensor state?

Can someone offer a solution so my badges display the state of a light group like the state of the tracker in the attached example? I am aware that badges show the state inside the badge (On and Off), but my preference would be to have the icon / image remain in the badge and display the state along the bottom. Is this possible?


Welcome to the community!! Can you please post your initial code so we have a starting point?

Check out # 11 to understand how to post code.