Make rest command into entity

Hey,
Feels like a stupid question, but I have a rest command that works as a button
So I put a button op on the UI and i can press the button and it works.
The button is configured as follows

show_name: true
show_icon: true
type: button
tap_action:
  action: call-service
  service: rest_command.ventattrethigh
  data: {}
  target: {}

But I would like to be able to put the button in my entity card, the button card is to big.I would like to be able to be able to control the rest command as an item in the entity list, and not as a button on the gui…

How do I do that?

Most cards support tap_action which will allow you to call a service without having an entity.

Depending what that thing you’re controlling is, this might help?