How do I use my Firemote card from HAC in automations

So by some miracle of persistance i managed to set up the HACs integration called firemote that allows you to control media devices like a fire tv and launch apps on an apple TV.

But I can’t seem to wrap my head around HOW to use this inregration (other than just clicking buttons on the remote card,

I’d lIke to set it up so i can define scipts that will send the correct function to the devices (like when I click the plex button it launches Plex on my Apple TV).

views:
  - title: Remotes
    path: remotes
    icon: mdi:remote-desktop
    subview: false
    badges: []
    cards:
      - type: custom:firemote-card
        entity: media_player.fire_tv_10_0_0_16
        device_family: amazon-fire
        device_type: fire_tv_4_series
        compatibility_mode: default
        defaultRemoteStyle_override: ''
        scale: '82'
        app_launch_1: prime-video
        app_launch_2: disney-plus
        app_launch_3: ''
      - type: media-control
        entity: media_player.home_theater
        view_layout:
          position: sidebar
      - type: custom:firemote-card
        entity: media_player.home_theater
        device_family: apple-tv
        device_type: appletv-4k-gen2
        compatibility_mode: default
        scale: '120'
        apple_tv_remote_entity: remote.home_theater
        app_launch_1: apple-tv-movies
        app_launch_2: plex
        app_launch_3: pluto-tv
        app_launch_4: prime-video
        app_launch_5: disney-plus
        visible_name_text: James' Apple TV
      - type: media-control
        entity: media_player.denon_avr_x3800h
      - type: entities
        entities:
          - entity: update.alexa_media_player_update
            name: Update
        title: Alexa Media Pl

Can anyone direct me to a post that will point out what obvious thing I am missing?

thank you for your patience.