custom-cards / button-card

❇️ Lovelace button-card for home assistant
MIT License
1.93k stars 233 forks source link

Haptic feedback lost on button #784

Open Acdz9 opened 11 months ago

Acdz9 commented 11 months ago

Checklist

Describe the bug There's no haptic feedback on popup buttons with browser mod 2.

Version of the card Version: 4.1.1 and 4.1.2-dev.1

To Reproduce This is the configuration I used:

type: custom:button-card
entity: sensor.sensor
tap_action:
  haptic: success
  action: fire-dom-event
  browser_mod:
    command: call-service
    service: browser_mod.popup
    data:
      title: Title
      content:

Screenshots If applicable, add screenshots to help explain your problem.

Expected behavior Recover vibrations on popup buttons

Desktop (please complete the following information):

Smartphone (please complete the following information):

Additional context Add any other context about the problem here.

ASNNetworks commented 11 months ago

Already submitted

https://github.com/custom-cards/button-card/issues/760

Acdz9 commented 11 months ago

Hello,

I understand that the problem has been solved in version 4.1.2-dev.1. However, unless I'm mistaken, it doesn't work for me. I do get feedback on the classic action buttons but not on the service popup browser mod buttons.

Thank you for your help.