Tap_action confirmation text variable not working?

Dear all,

I’m trying to use a button card with tap_action confirmation option and then sgowing a customaized text message using the confirmation text variable (Text to present in the confirmation dialog).

I do see a confirmation but with the default text (“Are you shure? Are you shure the action will be performed?”). Anyone any idea what is going wrong?

Code:

show_name: true
show_icon: true
type: button
tap_action:
action: toggle
confirmation: true
text: dit is een test bericht
entity: light.lamp_werkkamer
name: Werkkamer

Actions - Home Assistant

Please post with the proper formatting (triple-backticks) that preserves the indentation of your yaml.

Check your code.

tap_action:
  action: toggle
  confirmation:
    text: dit is een test bericht
1 Like