Logitech Harmony change Scripts from Switch to select

Hi,

I could find any fitting examples and due to the change, that the switch entity will be disabled I need to change all to select. Can any one help to change that?

wohnzimmer_apple_tv:
  alias: Wohnzimmer Apple TV
  sequence:
  - type: turn_on
    device_id: 5ecc4021e763070f11699d994a93e859
    entity_id: aecfb839f3f3d17d07b08548eb94db14
    domain: switch
  mode: single
  icon: mdi:apple
wohnzimmer_tv_aus:
  alias: Wohnzimmer Harmony
  sequence:
  - type: turn_off
    device_id: 5ecc4021e763070f11699d994a93e859
    entity_id: 9c71a47d903071b39d37cc68a93e8eb0
    domain: remote
  mode: single
  icon: mdi:remote-tv
´´´

This should get you started:

alias: Launch Streaming Video
fields:
  the_url:
    description: The URL to the episode or movie
    example: https://www.disneyplus.com/video/afdc98f1-26bf-48d8-8866-af185ba5d5ac
sequence:
  - device_id: c0899bdf3d254c586c9c2ba603ec7c85
    domain: select
    entity_id: select.harmony_hub_activities
    type: select_option
    option: Watch AppleTV
  - service: media_player.play_media
    data:
      media_content_type: url
      media_content_id: "{{ the_url }}"
    target:
      device_id: 6c498452766127570b04aefeffcee4a9
mode: single
icon: mdi:television

This particular script tells the Harmony to switch to the AppleTV activity and then play whatever URL I just passed in. The first sequence is probably what you need to understand switching activities.

I tried this, but I’m not able to get it working:

wohnzimmer_apple_tv:
 alias: Wohnzimmer Apple TV
 sequence:
    - device_id: 5ecc4021e763070f11699d994a93e859
      domain: select
      entity_id: select.harmony_hub_activities
      type: select_option
      option: Apple TV Wohnzimmer
 mode: single
 icon: mdi:apple

I’d check to make sure the name of your Harmony activity is Apple TV Wohnzimmer. The option has to exactly match the name of the activity. If that isn’t it, I’m not sure what it could be.

Just use a normal service call, there’s no reason to use a device action here.

sorry I’m to stupid to bring the activities from the harmony hub to Alexa and Google to start them by voice.
Using alexa and google with developer accounts

I also tried to use a script, scene and automation via WebUI from Home Assistant. All I tried just adds a switch.
I don’t understand the documentation from the website how I can achive my goal

If you want the switches back, which offer voice control. Follow this post