custom-card-helpers
custom-card-helpers copied to clipboard
Haptics can't be disabled on android
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.
Also I think changing the haptic from "success" to "light" would be more consistent with native home assistant vibrations.
related: home-assistant/android#2430
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.