How to use home assistant to launch a specific channel

How to use home assistant to launch a specific channel?
I want to be able to turn the NVidia shield channels dvr app to channel 3.1 Monday-Friday at 9:59am central. How do I do that?

This thread appears to have all the information you are looking for: Home Assistant - Channels - Turn on and set channel

I can get it to launch the channels app but cannot get it to change the channel

this is the code im using.

alias: Tune Channels DVR to 3.1
description: Launch Channels DVR and tune to 3.1 at 9:59 AM Central, Mon–Fri
trigger:

  • platform: time
    at: "09:59:00"
    condition:
  • condition: time
    weekday:
    • mon
    • tue
    • wed
    • thu
    • fri
      action:

Launch Channels DVR Beta (change package if using stable app)

  • service: androidtv.adb_command
    target:
    entity_id: media_player.android_tv_
    data:
    command: "monkey -p com.getchannels.dvr.app.beta -c android.intent.category.LAUNCHER 1"

Tune to 3.1

  • service: androidtv.adb_command
    target:
    entity_id: media_player.android_tv_
    data:
    command: "am start -a android.intent.action.VIEW -d 'channels://tune/3.1' com.getchannels.dvr.app.beta"
    mode: single

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.