Button confirmation vibrates phone even when vibration is disabled in Android and Companion app

I am trying to find out why the companion app on my kid devices vibrates when I trigger a confirmation action.

The device is an old Oneplus 3 Android phone running LineageOS 18.1. It is just used as a Home Assistant controller. The device is always on do not disturb mode.

I have disabled the vibrate feedback on the app already but doesn’t seam to do anything. I also have disabled all vibration settings on the android settings.

On my personal device (Samsung 23 ultra) it doesn’t happen.

I am using this:

tap_action:
      action: perform-action
      confirmation:
        text: ¿Escuchar "cell[1]"?
      perform_action: script.poner_gute_nacht_mit_der_maus_y_luego_musica_de_dormir
      data:
        podcast_url: cell[4]

I see no options for confirmation on Actions - Home Assistant

Anyone knows why could this be?

Thanks!

Haptic feedback when buttons are pressed?

This is a not a setting related to notifications it alarms, but instead to inputs.

1 Like

Sorry I do not follow. Which inputs do you mean?

As reference, this is full code I am using

type: custom:flex-table-card
entities:
  include: sensor.gute_nacht_mit_der_maus_episodios
clickable: false
title: Gute Nacht Mit Der Maus
max_rows: 100
columns:
  - name: ""
    data: item
    modify: >-
      '<img width="150" height="150" src="' + x['itunes:image']['@href'] + '"
      />'
    tap_action:
      action: perform-action
      confirmation:
        text: ¿Escuchar "cell[1]"?
      perform_action: script.poner_gute_nacht_mit_der_maus_y_luego_musica_de_dormir
      data:
        podcast_url: cell[4]
  - name: ""
    data: item
    modify: x.title
    tap_action:
      action: perform-action
      confirmation:
        text: ¿Escuchar "cell[1]"?
      perform_action: script.poner_gute_nacht_mit_der_maus_y_luego_musica_de_dormir
      data:
        podcast_url: cell[4]
  - name: ""
    data: item
    modify: x.pubDate
    tap_action:
      action: perform-action
      confirmation:
        text: ¿Escuchar "cell[1]"?
      perform_action: script.poner_gute_nacht_mit_der_maus_y_luego_musica_de_dormir
      data:
        podcast_url: cell[4]
  - name: ""
    data: item
    modify: x.description
    tap_action:
      action: perform-action
      confirmation:
        text: ¿Escuchar "cell[1]"?
      perform_action: script.poner_gute_nacht_mit_der_maus_y_luego_musica_de_dormir
      data:
        podcast_url: cell[4]
  - name: LINK
    data: item
    modify: x.enclosure['@url']
  - name: DATE
    data: item
    modify: new Date(x.pubDate).getTime()
card_mod:
  style: |
    #flextbl {
       border-collapse: separate;
       border-spacing: 0;
       display: flex;
       gap: 1em;
       flex-wrap: wrap;
     }
     
     thead {
       display: none;
     }
     
     #flextbl tr {
       display: flex;
       flex-direction: column;
       background: var(--card-background-color, #1c1c1c);
       border-radius: 8px;
       box-shadow: 0 2px 8px rgba(0,0,0,0.2);
       overflow: hidden;
       max-width: 300px;
       margin: 0 auto 1em auto;
       cursor: pointer;
     }
     
     #flextbl tr td {
       border: none !important;
       padding: 0 !important;
       max-width: 300px;
     }
     
     #flextbl tr td:first-child img {
       width: 300px;
       height: 300px;
       object-fit: cover;
       display: block;
     }
     
     #flextbl tr td:nth-child(2) {
       padding: 12px 16px 0px 16px !important;
       font-weight: bold;
       font-size: 150%;
     }
     
     #flextbl tr td:nth-child(3) {
       font-size:60%;
       padding: 0 16px 16px 16px !important;
     }
     
     #flextbl tr td:nth-child(4) {
       padding: 0 16px 16px 16px !important;
     }

     
     #flextbl tr td:nth-child(5), #flextbl tr td:nth-child(6) {
       display: none;
     }

The phone can be configured to vibtate as a haptic feedback when the button activated.
In the settings you can set the phone to vibtate and/or make a sound when a button is pressed.

No, all haptic stuff and vibration was disabled but I found what the problem was.

The browser/HA sends the notification as an alarm, and inside the “Do Not Disturb” options, alarms where configured as allowed. Removing it removes the vibration.

Good enough for my use case. But I would imagine that it isnt the best for other people.

It is hard to handle that in HA when it is a device-wide settings in the phone configuration.

1 Like

You should be able to change the notification channel from alarm to something else. That way if you ever needed the alarm to ring on DnD, it would still be possible.

sorry I mean the Popup