Media Player Universal source in overview

And now that I see your other thread, I’m starting to gather the whole picture.

You’ll need to have a list of services. 1 that changes your media player source, one that changes the input_select.

...
    select_source:
      - service: input_select.select_option
        data_template:
          entity_id: input_select.tv_source_list
          option: {{ source }}
      - service: media_player.select_source
        data_template:
          entity_id: media_player.xxx
          source: >
            {% mapper = {
                'Mediabox':'HDMI 1',
                'Chromecast':'HDMI 2/MHL',
                'Apple TV':'HDMI 3',
                'Playstation 4':'HDMI 4' } %}
            {{ mapper[source] if source in mapper else 'HDMI 1' }}
...
    attributes:
      source: input_select.tv_source_list
      source_list: input_select.tv_source_list|options
4 Likes