`tap_action` in a buttons row

Hello,

Is it possible to use tap_action in a buttons row ? Entities Card - Home Assistant

I tried with the code below but I have a lot errors starting with Required key "entities.6.entity" is missing

type: entities
title: Example
show_header_toggle: false
entities:
  - entity: xxxx
    name: xxx
  - type: buttons
    entities:
      - type: button
        icon: mdi:power
        name: Bed light transition
        action_name: Toggle light
        tap_action:
          action: call-service
          service: light.toggle
          service_data:
            entity_id: light.bed_light
            transition: 10
      - entity: script.xxxx
      - entity: script.yyyy

Thanks