Consider a custom:button-card. Imagine a card with several UI elements, each may have own tap_action.