Lovelace adding cards for every switch in tabs

hi

i have tabs for every room, but i like to have “cards” for every switch in those tabs.
for exempel, i like to have kitchen ceiling switch and al sensors for that switch in one “card”
and one for kitchen table and al sensors for that in one “card” under the tab kitchen.

how do i do that?

Just use a entity card and place all the entities you want in it.