#Roku TV does not recognize name of cable input for a button, it seems to want the app ID instead

1 messages · Page 1 of 1 (latest)

honest sky
#

Hi everyone. I'm looking to change the input of my TV to the cable input, but it does not work when I refer to the name of the input.

I started to create a dashboard that had buttons to control my Roku TV. In the UI, I was able to create a button for my Nintendo Switch (the name of the input on my Roku TV) as well as YouTube. For example, this is the YAML for my Switch, which works (again, these were made in the UI but I thought this would be easier to illustrate the settings):

show_name: true
show_icon: true
type: button
entity: sensor.43_hisense_roku_tv_active_app
icon: mdi:nintendo-switch
name: Nintendo Switch
show_state: false
tap_action:
  action: perform-action
  perform_action: media_player.select_source
  target:
    device_id: 1eae754df40b8ca32df7798d004844d6
  data:
    source: Nintendo Switch
grid_options:
  columns: 3
  rows: 2

But this does not work for the Cable TV button. The name of the input on my TV is "Cable TV".

show_name: true
show_icon: true
type: button
entity: sensor.43_hisense_roku_tv_active_app
icon: mdi:television-classic
name: My TV Provider
show_state: false
tap_action:
  action: perform-action
  perform_action: media_player.select_source
  target:
    device_id: 1eae754df40b8ca32df7798d004844d6
  data:
    source: Cable TV

I looked in the Logbook and I discovered that it seems to reference the cable input a different way:
(name of TV) changed to 779845. Is there a specific way I can call the App ID using a Home Assistant button? It would be using the cable input because that's how I get my TV.

honest sky
#

Roku TV does not recognize name of cable input for a button, it seems to want the app ID instead

cedar rose
#

Might be a silly question to ask but have you tried putting 779845 as the source?

honest sky
#

Let me give that a go and I'll get back to you