Mqtt based switches configuration in cards

I am needing to add a couple switches in the kitchen for lights. I was hoping to use a card for each light but when i try to build it i get invalid entries.

show_name: true
show_icon: true
type: button
tap_action:
  action: toggle
entity: Kitchen Entry Light
hold_action:
  action: none