Clooos / Bubble-Card

Bubble Card is a minimalist card collection for Home Assistant with a nice pop-up touch.
MIT License
1.72k stars 47 forks source link

Haptics fire on Android regardless of settings #712

Open grahamakennedy opened 3 weeks ago

grahamakennedy commented 3 weeks ago

Bubble card buttons behave differently to usual Home assistant buttons in terms of haptics, so there is no way to switch off vibration..

Current behaviour: Android = Android settings under Settings -> Sounds and Vibration -> More settings -> System Haptics Home Assistant = Vibrate settings under user profile

Android Home Assistant HA button Bubble Button On On Vibrate Vibrate On Off Vibrate Vibrate
Off On Vibrate Vibrate Off Off No Vibrate Vibrate

In the case of Bubblecard, vibrations are generated in all cases. Nothing special in terms of YAML as just configured using visual editor.

Expected behavior
Bubblecard should behave in the same manner as Home assistant buttons (or at least be able to disable the haptic response)


type: custom:bubble-card
card_type: button
button_type: state
entity: sensor.tempmasterbedroom_temperature
show_last_changed: true
show_attribute: false
name: Master Bedroom
scrolling_effect: true
show_icon: false
force_icon: false
card_layout: normal
sub_button:
  - entity: sensor.tempmasterbedroom_humidity
    name: Humidity
    show_name: true
    show_last_changed: false
    show_state: true

 - OS: Android 10
 - Browser/App: Home assistant mobile app
 - Bubble Card version: 2.2.1
 - Home Assistant version: 2024.7.4

Thank you! 🍻
Clooos commented 3 weeks ago

Hi and thank you for the feedback. I was not aware that it is possible to turn them off, I will take a look at how I can add this to my code.