Script display differences in Home > Overview

I have three scripts in scripts.yaml the first two work and the third does not. The third also appears different in on the home page, a slider (call service) instead of “Execute”.

Here is the scripts.yaml file

    radio1:
    alias: "Radio 1:IQ"
    sequence:
      - service: media_player.turn_on
        data:
          entity_id: media_player.tx8050
      - service: media_player.play_media
        data:
          entity_id: media_player.tx8050
          media_content_type: "radio"
          media_content_id: "1"

radio2:
    alias: "Radio 2:WVTF"
    sequence:
      - service: media_player.turn_on
        data:
          entity_id: media_player.tx8050
      - service: media_player.play_media
        data:
          entity_id: media_player.tx8050
          media_content_type: "radio"
          media_content_id: "2"

radio3:
    alias: "Radio IQ On"
    sequence:
     - service: switch.turn_on
       entity_id: switch.leviton_dzpa11lw_plugin_appliance_module_switch
     - delay: "00:02:00"
     - service: media_player.turn_on
       data:
          entity_id: media_player.tx8050
     - delay: "00:01:00"
     - service: media_player.play_media
       data:
          entity_id: media_player.tx8050
          media_content_type: "radio"
          media_content_id: "1" text by 4 spaces

The reason the third one is shown differently is because it has delays. See this doc page.

The third script may not work because of the extra text on this line:

media_content_id: "1" text by 4 spaces

You should probably delete everything after the quoted 1.

Thank you. I admit to being a novice with the importance of white spaces.