Haptics support
See original GitHub issueRobbie has added haptics support to the official Home Assistant iOS app (update releasing in a day or two). The PR for it is here (requires 0.92 also releasing in a day from now): https://github.com/home-assistant/home-assistant-polymer/pull/3099
Haptics basically vibrates the part of the screen that you touch (in a subtle way), so you get physical feedback on button presses like in real life. It’s very nice.
As per balloob’s comment at the bottom of that PR, it appears that custom cards can also use this new feature:
The nice way about this approach of using events is that custom stuff can also implement it 👍
It seems that you just have to fire a certain event when button is pressed and the iOS app will listen for that event and then handle the vibration/haptics part. Robbie is active on Discord #ios channel and could help out with any implementation questions I’m sure.
It would be a truly killer feature to have this supported in button-card as well. And I think would even be much better than the official entity-button implementation because we’d be able to specify exact sensitivity level on per-button basis, for example haptics: light
(possible options seem to include: success, warning, failure, light, medium, heavy, selection)
Hopefully this can be considered. I would be happy to help test things.
Issue Analytics
- State:
- Created 4 years ago
- Comments:24 (11 by maintainers)
Top GitHub Comments
Normal Buttons also emit an Vibration Event in the Android App. Could this be also implemented into custom:button-card? Or is this an Android Companion thing?
As I said on the PR, all is working fine.