Highlight or feedback on tap of a card on button card (mobile)

Hi,
is there any way to get a feedback on the tap on a button card on mobile?
doesn´t matter if its a highlight or haptic feedback or whatever.

Haptic feedback is possible, if you have the following requirements:

  • HA 0.92.x
  • iOS 2.0 app (build 42 or up)
  • custom:button-card

Use these three and you can make buttons with haptic feedback.

would it work on this one or would i have to rewrite it?
and what do i have to add?

cards:
  - entity: weather.met_no
    name: ' '
    type: 'custom:simple-weather-card'
  - text: Fenster
    type: 'custom:text-divider-row'
  - cards:
      - entity: scene.window_nach_hause_kommen_david
        tap_action:
          action: call-service
          service: cover.set_cover_position
          service_data:
            entity_id: group.all_covers
            position: 100
        type: entity-button
      - entity: scene.window_haus_verlassen_david
        tap_action:
          action: call-service
          service: cover.set_cover_position
          service_data:
            entity_id: group.all_covers
            position: 50
        type: entity-button
      - entity: scene.window_bitte_nicht_storen_david
        tap_action:
          action: call-service
          service: cover.set_cover_position
          service_data:
            entity_id: group.all_covers
            position: 0
        type: entity-button
    type: horizontal-stack
  - text: Vacuum
    type: 'custom:text-divider-row'
  - cards:
      - entity: vacuum.xiaomi_vacuum_cleaner
        entity_id: vacuum.xiaomi_vacuum_cleaner
        icon: 'mdi:play'
        name: Start
        tap_action:
          action: call-service
          service: vacuum.start
        type: entity-button
      - entity: vacuum.xiaomi_vacuum_cleaner
        entity_id: vacuum.xiaomi_vacuum_cleaner
        icon: 'mdi:stop'
        name: Stop
        tap_action:
          action: call-service
          service: vacuum.return_to_base
        type: entity-button
    type: horizontal-stack
type: vertical-stack

As far as I know it doesn’t work with the core entity button yet (or I don’t know how to do it, as it isn’t documented yet).

I use the custom:button-card for this (which is much more customizable and flexible). I’d suggest you give it a try.

Button Card: https://github.com/custom-cards/button-card
iOS HA beta: Home Assistant for iOS 2.0 Beta Testing

1 Like

I’ve been using button-cards, but I still can’t tell if my touch was accepted. Often I touch 3 times and it performs the action 1 - 2 times, never 3. I don’t want 3, I want one and an ack that it felt my touch. Is this available ?