custom-card-helpers icon indicating copy to clipboard operation
custom-card-helpers copied to clipboard

Haptics can't be disabled on android

Open bernikr opened this issue 2 years ago • 3 comments

Using the handleAction function with toggle or call_service on mobile can be very irritating because of the long vibrations / haptic feedback. On iOS it vibrates twice quickly (compared to once when toggling native entity cards) and on android it vibrates for around 0.5 seconds which can be very irritating.

Disabling vibrations in the Home Assistant settings on Android seems to have no effect on this.

This is so irritating that for me all cards using this helper are utterly useless at the moment.

bernikr avatar Apr 04 '22 22:04 bernikr

Also I think changing the haptic from "success" to "light" would be more consistent with native home assistant vibrations.

bernikr avatar Apr 04 '22 22:04 bernikr

related: home-assistant/android#2430

bernikr avatar Apr 05 '22 06:04 bernikr

More Context: This problem seems only to affect huawei users and might be caused by raising the haptic event on window instead of a lower DOM element like native HA cards do it.

bernikr avatar Apr 05 '22 21:04 bernikr