Browser Mod Confirmation Prompt

Hello,

I’m trying to create a confirmation dialog when pressing a button in lovelace.

I have an automation that opens all the blinds in the house and switches all the lights on, (and might turn on some music later). I have a button that is a service call to trigger said automation. However because I don’t want to accidentally press it and blind myself at night so I want to add a confirmation prompt before it activates the automation.

I know the confirmation prompt is built in on the button card but it just confirms the service call not which target and it seems the text property doesnt work on button cards.

So I found the browser mod add on, which seems more powerful but when I press the confirm button i made there is just an error in my browser that says “Failed to call service automation/trigger. must contain at least one of entity_id, device_id, area_id.” but for the browser mod popup there is no specific target? I’m sure I don’t understand something…

show_name: true
show_icon: false
type: button
tap_action:
  action: call-service
  service: browser_mod.popup
  target: {}
  data:
    dismissable: true
    autoclose: false
    content: Please confirm you want to activate Bright Mode.
    left_button: Cancel
    right_button: Confirm
    size: normal
    right_button_action:
      action: call-service
      service: automation.trigger
      target:
        entity_id: automation.presentation_mode
      data:
        skip_condition: true
name: Presentation Mode - Confirm