Open arthanoss opened 3 days ago
Hi, that issue is already fixed in v2.1.0-beta.1.
https://github.com/Clooos/Bubble-Card/releases/tag/v2.1.0-beta.1
I'm already on that beta. It was a different issue, where it could vibrate for even a few seconds before making an action. That's fixed indeed, but the one I described above is still there.
Thank you for the details, I will take a look at this then! Ho and next time you open an issue please provide the requested informations like the version, some users don't update to the betas.
Tapping on buttons or sub buttons makes haptic events fire multiple times. The
forwardHaptic
function gets called two or three times depending on the button type (on icons it seems fine). It's really noticeable on my Android device through the companion app, can feel each vibration separately. For some reason it feels fine when HA is opened through Chrome (single vibration on tap), but the issue is still there.Another issue is when there's no haptic feedback at all. Seems kinda random, but there's one example scenario where it's pretty consistent:
If between steps 2 and 3 I tap somewhere else, then it works.
Also, when clicked on a desktop in the same scenario (or even through DevTools connected to the same Android device), the aformentioned
forwardHaptic
function gets called every time. It's only with touch events directly on the phone it sometimes doesn't. Dunno, I haven't dug deeper into this. Hope that helps somehow 😅Tested on the latest versions of HA and Bubble Card.
As a side note. There's an option in the Android companion app settings that allows to disable vibrations. Bubble Card seems to ignore that setting. Not sure if it's even possible to use that, but maybe even better would be a YAML option to disable vibrations per action.
Thanks for your great work. Love these cards! ❤️