Samsung Smart TV integration: How to change source to TV?

I have the integration Samsung Smart TV installed. It generally works properly with my Samsung TV UE55MU8000.

I have to admit that the integration’s documentation could be improved, in particular more YAML examples should be added. I had to play around quite some time (trial and error) to find out how to properly change channels and to change/select the source (i.e. HDMI, Netflix, YouTube). See my YAML sniplets below for your reference.

However, I still fail to simply change the source to TV (eg after using Netflix or YouTube). It does neither work via selecting TV as source in the dashboard media player card (whilst selecting any other source like eg Netflix does sucessfully change the source)

… nor does the following service work to change the source to TV (whilst selecting any other source like YouTube, HDMI or Netflix works)

service: media_player.select_source
data:
  source: TV
target:
  entity_id: media_player.fernseher

What am I doing wrong???

For your reference here are my working YAML sniplets for changing the channel

service: media_player.play_media
data:
  entity_id: media_player.fernseher
  media_content_id: 15
  media_content_type: channel

and for changing the source

service: media_player.select_source
data:
  source: HDMI
target:
  entity_id: media_player.fernseher
1 Like

Did you ever figure this out? I’m in the same boat. :slight_smile:

Sorry, never managed this. Unfortunately, noone (including) the developers ever replied to any of my requests … :sleepy:

So very far from an expert here but I am able to control my samsung from my dash with custom buttons. Below is my button code for Netflix and just change the source to meet your needs. I hope that this helps:

show_entity_picture: true
show_name: false
name: HOME
entity_picture: /local/images/streaming_logos/netflix1.png
type: custom:button-card
tap_action:
  action: perform-action
  perform_action: media_player.select_source
  target:
    entity_id: media_player.samsung_8_series_65
  data:
    source: Netflix
entity: media_player.samsung_8_series_65
show_state: false
styles:
  card:
    - padding: 8px
    - border-radius: 7px
  entity_picture:
    - height: null
    - width: null