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 haptic feedback #850

Closed
jeffconrad18 opened this issue Jul 9, 2022 · 8 comments · Fixed by #878
Closed

Add haptic feedback #850

jeffconrad18 opened this issue Jul 9, 2022 · 8 comments · Fixed by #878

Comments

@jeffconrad18
Copy link
Contributor

Hey,
can we add Haptics to all of the cards?
It would look like this:

tap_action:
  haptic: light

Or maybe optionally with a variable!?
That would be very useful, so that you don't accidentally switch things on and off.

@schumijo schumijo linked a pull request Aug 2, 2022 that will close this issue
@mdb17
Copy link
Contributor

mdb17 commented Aug 8, 2022

Has this been solved with the 1.1.0 update? I am not getting haptic with my button presses.

@matrixx567
Copy link
Contributor

Hi @mdb17,

It's already available in the current release.
See https://ui-lovelace-minimalist.github.io/UI/setup/custom_actions/ for more information.

@mdb17
Copy link
Contributor

mdb17 commented Aug 9, 2022

I have added the haptic actions to my ulm_custom_actions.yaml file and some button are providing haptic while others are not. Should all be working?

@matrixx567
Copy link
Contributor

@mdb17

Which cards aren't working?
Most of the internal cards should already work.

@mdb17
Copy link
Contributor

mdb17 commented Aug 10, 2022

The stock cards that I am not getting haptics with are: card_person, card_script', card_vertical_buttonandchip_back`. Is there something else i need to configure to get it all working?

I am also not getting haptics on custom_card_esh_room or custom_card_esh_welcom though I suspect something has to be done to those cards to enable it.

@matrixx567
Copy link
Contributor

@mdb17

These cards don't support the custom actions yet.

You can simply add the haptic support to your cards: Overwrite the tap action within your configuration for the specific cards.

tap_action:
  haptic: "medium"

@mdb17
Copy link
Contributor

mdb17 commented Aug 10, 2022

edited, it is working. Thank you for the help!

Is it possible to do that same thing for the custom cards?

@matrixx567
Copy link
Contributor

Hi @mdb17

The whole "theme" is based on the Custom Button Cards. It is possible to overwrite each element of the used template. See the docs of the Custom Button Cards for more details.

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

Successfully merging a pull request may close this issue.

4 participants