Popup Mod for Switch Entity

I am still learning a lot of the basics so please forgive me if this is a simple question.

I recently discovered the browser mod and want to create some custom popups for my entities in Lovelace.

I want to do this:

type: entity-button
entity: switch.garage
tap_action:
  action: call-service
  service: browser_mod.command
  service_data:
    command: popup
    title: Garage Options
    card:
      type: entities
      entities:
        - input_boolean.garage_oride_sw
      deviceID:
        - this
        - dashboard

But when I select a normal switch entity.

Example:

entities:
  - entity: switch.garage

I am hoping that it is possible to replace the default popup when you select anything other than the switch with a custom one I make.

Is it possible?

Not sure if i understand you correctly, but i think you want the popup_card.
Unfortunately, it’s marked as deprecated, but still works for me. :crossed_fingers:

That what got me started down this path but it says to use browser_mod. I was able to create the card I wanted and create an example as well. The problem is assigning it to what I want to. I want the assign it to this pic below.
image

I can easily do it for a glance card as shown my first example code.