So I set up a simple button. When I toggle the button in the app, I want to give it a very short vibration, like the default buttons or the mushroom buttons. So it’s possible, but I don’t know how to make it work.
Here’s what I have:
type: custom:button-card
entity: light.nous_a1z_1_switch
icon: mdi:toggle-switch
color_type: icon
color: orange
size: 35px
name: Flur
show_name: true
show_state: false
layout: icon_name_state
action:
haptic: light
styles:
name:
- font-size: 13px
- font-weight: regular
- justify-self: start
state:
- value: 'off'
icon: mdi:toggle-switch-off
styles:
icon:
- color: grey
I don’t really know where to put the haptic instruction or what to do with the action part since there are no examples in the custom button documentation. Maybe someone knows how to do this properly - thanks in advance!