UI
UI copied to clipboard
Add haptic feedback
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.
Has this been solved with the 1.1.0 update? I am not getting haptic with my button presses.
Hi @mdb17,
It's already available in the current release. See https://ui-lovelace-minimalist.github.io/UI/setup/custom_actions/ for more information.
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?
@mdb17
Which cards aren't working? Most of the internal cards should already work.
The stock cards that I am not getting haptics with are: card_person
, card_script',
card_vertical_buttonand
chip_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.
@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"
edited, it is working. Thank you for the help!
Is it possible to do that same thing for the custom cards?
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.