Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Haptics support #29

Open
agneevX opened this issue Oct 8, 2020 · 7 comments
Open

Haptics support #29

agneevX opened this issue Oct 8, 2020 · 7 comments

Comments

@agneevX
Copy link

agneevX commented Oct 8, 2020

Hi!

Love your card. Its perfect for my lamps. However its missing haptic support.

I would appreciate it very much if you could add it, thanks.

@bokub
Copy link
Owner

bokub commented Oct 8, 2020

Hi,

Do you know any custom card which implement haptic support? That would help a lot

@agneevX
Copy link
Author

agneevX commented Oct 8, 2020

button-card - custom-cards/button-card#123

@bokub
Copy link
Owner

bokub commented Oct 8, 2020

That's a great idea ! However, the example you gave me only has haptic support for iOS.

I personally own an Android, and I have no idea if it's possible for Android devices

@agneevX
Copy link
Author

agneevX commented Oct 8, 2020

You can more info here: https://companion.home-assistant.io/docs/integrations/haptics/

Haptics don't exist on Android but I remember reading about some sort of vibration on Android.

@bokub
Copy link
Owner

bokub commented Oct 11, 2020

I won't be able to code this as I don't have an Apple device to test, but I'll leave this issue open in case someone wants to give it a try

@agneevX
Copy link
Author

agneevX commented Oct 11, 2020

@bokub I'm willing to test this, if you're up for it

@agneevX
Copy link
Author

agneevX commented Oct 22, 2020

@bokub vibrations should work on Android with:

tap_action:
  haptic: medium
  action: more-info

Hopefully if home-assistant/android#1091 is resolved, haptics should work on Pixel devices, which IIRC support haptics on Android.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants