Customize info card for a group

Hi. I have a card with same light groups. When I click on a group it pops up a small window containing all the lights from the group but also contains info from one of the lights (ip address, signal, …).
How can I customize this to show only the lights in the group and no other information?