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

Add settings for wear haptic feedback and toast on entity selection #1893

Merged
merged 9 commits into from Nov 11, 2021

Conversation

dshokouhi
Copy link
Member

Summary

Fixes: #1878 by providing 2 new settings that default to false to preserve existing behavior. Once enabled the user will see a toast message and/or haptic feedback based on their choosing.

Screenshots

image

image

Link to pull request in Documentation repository

Documentation: home-assistant/companion.home-assistant#pending

Any other notes

@dshokouhi dshokouhi force-pushed the wear_haptic_toast_settings branch 3 times, most recently from fe7760d to 62a6b23 Compare November 11, 2021 03:18
Comment on lines 32 to 36
isHapticEnabled.value = homePresenter.getWearHapticFeedback()
isToastEnabled.value = homePresenter.getWearToastConfirmation()
entities.addAll(homePresenter.getEntities())
isHapticEnabled.value = homePresenter.getWearHapticFeedback()
isToastEnabled.value = homePresenter.getWearToastConfirmation()
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Don't need to call twice!

@JBassett JBassett merged commit 27627fa into home-assistant:master Nov 11, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Wear OS - Show a toast notification and vibrate when pressing an item in wear os app
3 participants