Native support for Android TV / Android devices

Thanks for posting this, using the command to stop vpn in background on Firestick after starting geolocked stream to get full speed/quality.

I’m new to Home Assistant so forgive me for the basic question, but I’ve installed the Android TV integration.

Everything seems to be working fine with my ShieldTV but I’m trying to change the app names from com.xxxxxx to something more meaningful.

The instructions I’ve found say to edit the yaml as follows:

media_player:
  - platform: androidtv
    name: media_player.android_tv_192_168_1_135
    host: 192.168.1.135
    apps:
      com.bamnetworks.mobile.android.gameday.atbat: "MLB"
      com.maz.combo587: "Law and Crime"

I’m placing that in my configuration.yaml file, however it isn’t changing the app names. Should I be placing this code somewhere else other than my configuration.yaml? If not, any other suggestions?

Thanks.

AndroidTV integration is no longer supported in YAML configuration since 2022.2.

Please make sure you set up your AndroidTV integration via UI configuration (you can also set up your apps there) and you should be OK.

1 Like

I have a 2019 Nvidia Shield TV Pro, Is there anyway through this integration that I can turn on the night time listening mode after a certain time during the day?

I’m not familiar with “night time listening mode”. Is it an app (like Netflix, NBC, BBC, Kodi or VLC) ? or a feature of one of the apps (like a particular NBC or BBC channel) ?

You can start an app - I saw instructions for finding out what the apps are named some time ago - but once you start an app I understand that you are stuck with sending keystrokes to the device - emulating its remote control.

Hi,

I need to keep an app running on my Google TV. I can get the status of an app with adb but is there a command to keep an app alive ?

No it is not an app. It is a system setting built into the Nvidia Shield TV

Hi. I use the state of a ShieldTV device to turn on amps for overhead speakers. However, my wife sometimes uses a portable bluetooth speaker, and I would like to not have the amp switch on when the shield is using a bluetooth speaker instead of HDMI audio out.

Is there a way with this plugin to figure out which audio device is active, so I can make the proper decision in the automation about amp power?

Hi,
is does this integration also support android 13?
I have a problem with Android TV version 13 to get the currently running application. I can get the state of the application - “wake_lock_size”, but the name of the application is not in the adb response. I don’t know if this is a bug of android 13 of this ROM or if there is a problem in the integration.
Thanks.