Place buttons and title inside a card?

I am using this code

- type: vertical-stack
  title: Perimeter Lights
  cards:
  - type: button
    entity: light.stairs
    icon_height: 50px
    icon_width: 50px
  - type: button
    entity: light.kitchen_veranda
    icon_height: 50px
    icon_width: 50px

To create this interface
2
But I would really prefer it if the text “Perimeter Lights” was inside the box with the buttons, and the buttons were in a single card, grouped together.

I’m having a hard time finding out how to do that.
Help?

Maybe paper buttons row would be a solution for you

Or try

2 Likes

agree, stack-in-card is ideal for that

thanks, I’ll give it a try.