Serice remote.send_command

Hello friends. Could you help me with this? I want a botton to execute a broadlink command. Thank you

          # samsung tv buttons
          - type: custom:button-card
            icon: mdi:volume-plus
              action: call-service
              service: remote.send_command
              entity_id: remote.broadlink_m3_remote_living
                command: remote.samsung_tv_on

You probably just need to change this:

to this:

                command: samsung_tv_on

Thanks friend. I separated it to run a script because I couldn’t.