Vacuum.starrt Service in a button card is not working

Dear Forum,

likely just a small thing, but I do net get my button card to work. The idea is to have a button that starts the cleaning process. Here is my lovelace button card so far:

type: button
entity: vacuum.xiaomi_vacuum_cleaner
tap_action:
  action: call-service
  service: vacuum.start
hold_action:
  action: more-info
show_icon: true
show_name: false
show_state: false

When I press it, I get:

“Error while calling service vacuum/start. must contain at least one of entity_id, area_id.”

I understand that the service would like to be pointed towards the xiaomi vacuum entitiy id. But I do not get how to tell it to it.

tap_action:
  action: call-service
  service: vacuum.start
  service_data:
    entity_id: vacuum.your_vac_here
1 Like

Oh, that easy! Thanks it works!

1 Like