Creating Tap Actions Where None Exist

There are a number of cards within Home Assistant and through HACS where tap actions are not inherently part of the card. Does anyone know of a way to give these types of cards the tap action ability?

I replied to another similar post, which had an easier solution by enlarging the container for tap action.
but as your question differs slightly… because you have no tap action.

this way would work. I am sure there’s a simple way but for now you can experiment with this.

type: custom:layout-card
layout_type: custom:grid-layout
  - type: custom:stack-in-card
      grid-column-start: 1
      grid-row-start: 1
      - type: custom:mushroom-template-card
        primary: '{{ states(''switch.bridge_light'')}}'
        icon: mdi:home
      - type: custom:layout-card
        layout_type: custom:grid-layout
  - type: button
    show_name: false
    show_icon: false
      action: toggle
    entity: switch.bridge_light
      grid-column-start: 1
      grid-row-start: 1
      style: |
        ha-card {
          background: none;

obviously this example is using a mushroom template card which does have a tap action, just replace with the card your using that doesn’t.

it’s using a button over the top which uses tap action.