ha-samsungtv-encrypted icon indicating copy to clipboard operation
ha-samsungtv-encrypted copied to clipboard

How to change the source labels?

Open photonforge opened this issue 4 years ago • 3 comments

Hi, Is there a way to labels the sources detected ? As of now the sources available are TV and HDMI 1-4. I tried adding
sourcelist: '{"TataSky": "KEY_HDMI1", "OSMC": "KEY_HDMI2", "HA": "KEY_HDMI3", "Apple TV": "KEY_HDMI4"} to the config, but that is throwing up an error:

Invalid config for [media_player.samsungtv_encrypted]: [sourcelist] is an invalid option for [media_player.samsungtv_encrypted].

`

photonforge avatar May 15 '20 05:05 photonforge

Came here just to ask for this, it appears to be supported on the custom version: https://github.com/roberodin/ha-samsungtv-custom

Not sure if that helps you. I am far from a competent coder, so don't want to try and dip in myself :)

onemico avatar May 18 '20 09:05 onemico

Hi @onemico @photonforge

This version of the component implements a different source control than roberodin's one. I was not sure if this functionality was important for you, so it will be implemented in a future release :-)

sermayoral avatar May 19 '20 07:05 sermayoral

@sermayoral thanks!!!

photonforge avatar May 19 '20 19:05 photonforge