New Chromecast w/ Android TV Integration only showing as Off or Idle

Result of first command looks slightly different than yours, while at the home screen:


adb_response: >-
  111Wake Locks: size=2

  DockedStackDivider}:


  - STREAM_MUSIC:
     Muted: false
     Min: 0
     Max: 25
     streamVolume:25
     Current: 4 (headset): 10, 8 (headphone): 10, 400 (hdmi): 25, 4000000 (usb_headset): 6, 40000000 (default): 20
     Devices: hdmi
  - STREAM_ALARM:
     Muted: false
     Min: 1
     Max: 7
     streamVolume:6
  u0_a38        3970  3503 1348168 105416 0                   0 S
  com.android.systemui

  u0_a42        4217  3503 1304408  80416 0                   0 S
  com.google.android.tv.remote.service

  u0_a56        4243  3503 1394592 165664 0                   0 S
  com.google.android.inputmethod.latin

  u0_a34        4281  3503 1461928 130188 0                   0 S
  com.google.android.gms.persistent

  u0_a34        4448  3503 1626620 141100 0                   0 S
  com.google.android.gms

  u0_a34        4478  3503 1306724  78728 0                   0 S
  com.google.process.gservices

  u0_a31        4492  3503 1764736 120508 0                   0 S
  com.google.android.katniss:interactor

  u0_a37        4566  3503 1369812 143500 0                   0 S
  com.google.android.apps.tv.launcherx:coreservices

  u0_a71        4634  3503 1326244  96796 0                   0 S
  com.spotify.tv.android

  u0_a31        4776  3503 1821492 131648 0                   0 S
  com.google.android.katniss:search

  u0_a35        5038  3503 1318252  83952 0                   0 S
  com.google.android.tungsten.setupwraith

  u0_a41        5525  3503 1439892 114820 0                   0 S
  com.google.android.apps.mediashell

  u0_a46        5874  3503 1383740 134628 0                   0 S
  com.google.android.tts

  u0_a33        6094  3503 1299920  73096 0                   0 S
  com.google.android.tv.axel

  u0_a34        6481  3503 1423336 122244 0                   0 S
  com.google.android.gms.unstable

  u0_a72       16090  3503 1913524 291860 0                   0 S
  com.plexapp.android

  u0_a29       17942  3503 1367224 135252 0                   0 S
  com.google.android.apps.tv.dreamx

  u0_a39       18112  3503 1292288  67764 0                   0 S
  com.android.settings.intelligence

  u0_a37       24501  3503 1675632 246456 0                   0 S
  com.google.android.apps.tv.launcherx

  u0_a63       28503  3503 1832540 242736 0                   0 S
  com.google.android.youtube.tv

  u0_a63       29498  3503 1464556 114680 0                   0 S
  com.google.android.youtube.tv.recommendations

  u0_a4        29571  3503 1294892  78220 0                   0 S
  com.android.providers.tv

Second command matches your test_basetv_sync.py as well as @dg1024 test above:

adb_response: |-
  Google
  Chromecast
  SERIALNUMBER
  10
      link/ether MAC brd ff:ff:ff:ff:ff:ff
  Device "eth0" does not exist.

Are we supposed to run those commands idle on the home screen? I’ve been running them during YouTube playback.

I’m happy to run the first command again while playing YouTube if that’s helpful.

This is what I’m getting when running the first command (with 'Window \#1' and A -11) while sitting idle on the homescreen:

adb_response: >-
  111Wake Locks: size=1

  com.google.android.apps.tv.launcherx


  - STREAM_MUSIC:
     Muted: false
     Min: 0
     Max: 25
     streamVolume:25
     Current: 4 (headset): 10, 8 (headphone): 10, 400 (hdmi): 25, 4000000 (usb_headset): 6, 40000000 (default): 20
     Devices: hdmi
  - STREAM_ALARM:
     Muted: false
     Min: 1
     Max: 7
     streamVolume:6
  u0_a30        1983 16265 1292436  66856 0                   0 S
  com.google.android.partnersetup

  u0_a67        1998 16265 1328548 101812 0                   0 S
  com.rma.netpulsetv

  u0_a78        2014 16265 1591060 100960 0                   0 S
  com.plexapp.android

  u0_a44        2041 16265 1348040 105224 0                   0 S
  com.android.vending:instant_app_installer

  u0_a20       10858 16265 1616400 103832 0                   0 S
  tv.pluto.android

  u0_a3        12693 16265 1315328  83732 0                   0 S
  com.android.providers.tv

  u0_a38       16522 16265 1349984  51744 0                   0 S
  com.android.systemui

  u0_a56       16765 16265 1344856  55548 0                   0 S
  com.google.android.inputmethod.latin

  u0_a42       16783 16265 1303468  43644 0                   0 S
  com.google.android.tv.remote.service

  u0_a34       16836 16265 1466712 111504 0                   0 S
  com.google.android.gms.persistent

  u0_a34       16996 16265 1631748 122040 0                   0 S
  com.google.android.gms

  u0_a34       17025 16265 1308624  39148 0                   0 S
  com.google.process.gservices

  u0_a31       17060 16265 1774508  90948 0                   0 S
  com.google.android.katniss:interactor

  u0_a37       17151 16265 1359820  49876 0                   0 S
  com.google.android.apps.tv.launcherx:coreservices

  u0_a31       17358 16265 1860124 116100 0                   0 S
  com.google.android.katniss:search

  u0_a65       17721 16265 2081420 209120 0                   0 S
  com.netflix.ninja

  u0_a41       18289 16265 1489708  89032 0                   0 S
  com.google.android.apps.mediashell

  u0_a46       18601 16265 1385216  38744 0                   0 S
  com.google.android.tts

  u0_a33       18896 16265 1300544  38680 0                   0 S
  com.google.android.tv.axel

  u0_a20       21215 16265 1655904 135512 0                   0 S
  tv.pluto.android:input

  u0_a8        23988 16265 1292608  75536 0                   0 S
  com.android.providers.calendar

  u0_a41       25161 16265 1456356  45696 0                   0 S
  com.google.android.apps.mediashell:privileged_process0

  u0_a80       27749 16265 1317712  54624 0                   0 S
  com.google.android.tv

  u0_a37       29228 16265 1754432 249708 0                   0 S
  com.google.android.apps.tv.launcherx

@dg1024 and @grh6u5zp04kd

Thanks for testing it. Based on the output you posted, the change that I made should work. I submitted a pull request to HA: https://github.com/home-assistant/core/pull/42047

3 Likes

Thanks for your responsiveness throughout this. Looking forward to using it when it’s available!

Hi @JeffLIrion do we know when this update will be available? Is there any way I can change my HA installation now to include the new androidtv package ?

I’m not sure about timing but the changes were merged into the HA dev channel yesterday. HA 0.117 beta should be released tomorrow with the official release coming a week after that. I’m hoping the beta will have the necessary changes but I’m not familiar enough with the dev side of things to know how that workflow is implemented.

1 Like

@dg1024 is correct. The changes should be in today’s beta release and next Wednesday’s 0.117 release.

1 Like

With the latest version of Home Assistant the Android TV integration is now reporting a running app - alas it’s not the correct one.

Contantly showing

app_id: de.cyberdream.androidtv.notifications.google}:
app_name: de.cyberdream.androidtv.notifications.google}:
source: de.cyberdream.androidtv.notifications.google}:

(complete with the curly brace and colon at the end)

Now the apk_id is this app which is installed for the Android Notifications :- https://www.home-assistant.io/integrations/nfandroidtv/

Can’t seem to get the commands working from up thread but

entity_id: media_player.kev_s_bedroom_google_tv_chromecast
command: "(dumpsys window windows)"

returns

adb_response: WINDOW MANAGER WINDOWS (dumpsys window windows)
  Window #0 Window{993b0ce u0 InputMethod}:
    mDisplayId=0 stackId=0 mSession=Session{2c49993 4234:u0a10056} mClient=android.os.BinderProxy@fe781c9
    mOwnerUid=10056 mShowToOwnerOnly=true package=com.google.android.inputmethod.latin appop=NONE
    mAttrs={(0,0)(fillxfill) gr=BOTTOM CENTER_VERTICAL sim={adjust=pan} ty=INPUT_METHOD fmt=TRANSPARENT wanim=0x1030056
      fl=NOT_FOCUSABLE LAYOUT_IN_SCREEN SPLIT_TOUCH HARDWARE_ACCELERATED DRAWS_SYSTEM_BAR_BACKGROUNDS}
    Requested w=1920 h=1080 mLayoutSeq=5935
    mIsImWindow=true mIsWallpaper=false mIsFloatingLayer=true mWallpaperVisible=false
    mBaseLayer=151000 mSubLayer=0    mToken=WindowToken{ceadd50 android.os.Binder@d196713}
    mViewVisibility=0x8 mHaveFrame=true mObscured=false
    mSeq=0 mSystemUiVisibility=0x0
    mGivenContentInsets=[0,1080][0,0] mGivenVisibleInsets=[0,1080][0,0]
    mTouchableInsets=3 mGivenInsetsPending=false
    touchable region=SkRegion()
    mFullConfiguration={1.0 ?mcc?mnc [en_GB] ldltr sw540dp w960dp h540dp 320dpi lrg long land television -touch -keyb/v/h dpad/v winConfig={ mBounds=Rect(0, 0 - 1920, 1080) mAppBounds=Rect(0, 0 - 1920, 1080) mWindowingMode=fullscreen mDisplayWindowingMode=fullscreen mActivityType=undefined mAlwaysOnTop=undefined mRotation=ROTATION_0} s.8}
    mLastReportedConfiguration={1.0 ?mcc?mnc [en_GB] ldltr sw540dp w960dp h540dp 320dpi lrg long land television -touch -keyb/v/h dpad/v winConfig={ mBounds=Rect(0, 0 - 1920, 1080) mAppBounds=Rect(0, 0 - 1920, 1080) mWindowingMode=fullscreen mDisplayWindowingMode=fullscreen mActivityType=undefined mAlwaysOnTop=undefined mRotation=ROTATION_0} s.8}
    mHasSurface=false isReadyForDisplay()=false mWindowRemovalAllowed=false
    Frames: containing=[0,0][1920,1080] parent=[0,0][1920,1080]
        display=[0,0][1920,1080] overscan=[0,0][1920,1080]
        content=[0,0][1920,1080] visible=[0,0][1920,1080]
        decor=[0,0][0,0]
        outset=[0,0][0,0]
    mFrame=[0,0][1920,1080] last=[0,0][1920,1080]
     cutout=DisplayCutout{insets=Rect(0, 0 - 0, 0) boundingRect={Bounds=[Rect(0, 0 - 0, 0), Rect(0, 0 - 0, 0), Rect(0, 0 - 0, 0), Rect(0, 0 - 0, 0)]}} last=DisplayCutout{insets=Rect(0, 0 - 0, 0) boundingRect={Bounds=[Rect(0, 0 - 0, 0), Rect(0, 0 - 0, 0), Rect(0, 0 - 0, 0), Rect(0, 0 - 0, 0)]}}
    Cur insets: overscan=[0,0][0,0] content=[0,0][0,0] visible=[0,0][0,0] stable=[0,0][0,0] outsets=[0,0][0,0]    Lst insets: overscan=[0,0][0,0] content=[0,0][0,0] visible=[0,0][0,0] stable=[0,0][0,0] outset=[0,0][0,0]
     surface=[0,0][0,0]
    WindowStateAnimator{2211f8a InputMethod}:
      mDrawState=NO_SURFACE       mLastHidden=true
      mSystemDecorRect=[0,0][1920,1080] mLastClipRect=[0,0][1920,1080]
    mForceSeamlesslyRotate=false seamlesslyRotate: pending=null finishedFrameNumber=0
    isOnScreen=false
    isVisible=false
  Window #1 Window{545db40 u0 de.cyberdream.androidtv.notifications.google}:
    mDisplayId=0 stackId=0 mSession=Session{82135d4 14642:u0a10113} mClient=android.os.BinderProxy@c04b272
    mOwnerUid=10113 mShowToOwnerOnly=true package=de.cyberdream.androidtv.notifications.google appop=SYSTEM_ALERT_WINDOW
    mAttrs={(1300,700)(1x1) gr=TOP LEFT CENTER sim={adjust=pan} ty=APPLICATION_OVERLAY fmt=TRANSLUCENT
      fl=NOT_FOCUSABLE NOT_TOUCH_MODAL LAYOUT_NO_LIMITS WATCH_OUTSIDE_TOUCH HARDWARE_ACCELERATED}
    Requested w=1 h=1 mLayoutSeq=7410
    mBaseLayer=121000 mSubLayer=0    mToken=WindowToken{28ae6c3 android.os.BinderProxy@c04b272}
    mViewVisibility=0x0 mHaveFrame=true mObscured=false
    mSeq=0 mSystemUiVisibility=0x0
    mGivenContentInsets=[0,0][0,0] mGivenVisibleInsets=[0,0][0,0]
    mFullConfiguration={1.0 ?mcc?mnc [en_GB] ldltr sw540dp w960dp h540dp 320dpi lrg long land television -touch -keyb/v/h dpad/v winConfig={ mBounds=Rect(0, 0 - 1920, 1080) mAppBounds=Rect(0, 0 - 1920, 1080) mWindowingMode=fullscreen mDisplayWindowingMode=fullscreen mActivityType=undefined mAlwaysOnTop=undefined mRotation=ROTATION_0} s.8}
    mLastReportedConfiguration={1.0 ?mcc?mnc [en_GB] ldltr sw540dp w960dp h540dp 320dpi lrg long land television -touch -keyb/v/h dpad/v winConfig={ mBounds=Rect(0, 0 - 1920, 1080) mAppBounds=Rect(0, 0 - 1920, 1080) mWindowingMode=fullscreen mDisplayWindowingMode=fullscreen mActivityType=undefined mAlwaysOnTop=undefined mRotation=ROTATION_0} s.8}
    mHasSurface=true isReadyForDisplay()=true mWindowRemovalAllowed=false
    Frames: containing=[0,0][1920,1080] parent=[0,0][1920,1080]
        display=[-10000,-10000][10000,10000] overscan=[-10000,-10000][10000,10000]
        content=[1300,700][1301,701] visible=[1300,700][1301,701]
        decor=[0,0][1920,1080]
        outset=[0,0][0,0]
    mFrame=[1300,700][1301,701] last=[1300,700][1301,701]
     cutout=DisplayCutout{insets=Rect(0, 0 - 0, 0) boundingRect={Bounds=[Rect(0, 0 - 0, 0), Rect(0, 0 - 0, 0), Rect(0, 0 - 0, 0), Rect(0, 0 - 0, 0)]}} last=DisplayCutout{insets=Rect(0, 0 - 0, 0) boundingRect={Bounds=[Rect(0, 0 - 0, 0), Rect(0, 0 - 0, 0), Rect(0, 0 - 0, 0), Rect(0, 0 - 0, 0)]}}
    Cur insets: overscan=[0,0][0,0] content=[0,0][0,0] visible=[0,0][0,0] stable=[0,0][0,0] outsets=[0,0][0,0]    Lst insets: overscan=[0,0][0,0] content=[0,0][0,0] visible=[0,0][0,0] stable=[0,0][0,0] outset=[0,0][0,0]
     surface=[0,0][0,0]
    WindowStateAnimator{f44f470 }:
      mSurface=Surface(name=)/@0x17663e9
      Surface: shown=true layer=0 alpha=1.0 rect=(0.0,0.0) 1 x 1 transform=(1.0, 0.0, 1.0, 0.0)
      mDrawState=HAS_DRAWN       mLastHidden=false
      mSystemDecorRect=[0,0][1,1] mLastClipRect=[0,0][1,1]
    mForceSeamlesslyRotate=false seamlesslyRotate: pending=null finishedFrameNumber=0
    isOnScreen=true
    isVisible=true
  Window #2 Window{395ded3 u0 DockedStackDivider}:
    mDisplayId=0 stackId=0 mSession=Session{9583a80 3999:u0a10039} mClient=android.os.BinderProxy@5f0490d
    mOwnerUid=10039 mShowToOwnerOnly=false package=com.android.systemui appop=NONE
    mAttrs={(0,0)(96xfill) sim={adjust=pan} layoutInDisplayCutoutMode=always ty=DOCK_DIVIDER fmt=TRANSLUCENT
      fl=NOT_FOCUSABLE NOT_TOUCH_MODAL WATCH_OUTSIDE_TOUCH SPLIT_TOUCH HARDWARE_ACCELERATED FLAG_SLIPPERY
      pfl=NO_MOVE_ANIMATION
      vsysui=LAYOUT_STABLE LAYOUT_HIDE_NAVIGATION LAYOUT_FULLSCREEN}
    Requested w=96 h=1080 mLayoutSeq=7410
    mBaseLayer=21000 mSubLayer=0    mToken=WindowToken{a9f40c2 android.os.BinderProxy@7b867a4}
    mViewVisibility=0x4 mHaveFrame=true mObscured=false
    mSeq=0 mSystemUiVisibility=0x700
    mPolicyVisibility=false mLegacyPolicyVisibilityAfterAnim=false mAppOpVisibility=true parentHidden=false mPermanentlyHidden=false mHiddenWhileSuspended=false mForceHideNonSystemOverlayWindow=false
    mGivenContentInsets=[0,0][0,0] mGivenVisibleInsets=[0,0][0,0]
    mTouchableInsets=3 mGivenInsetsPending=false
    touchable region=SkRegion((0,-96,96,96))
    mFullConfiguration={1.0 ?mcc?mnc [en_GB] ldltr sw540dp w960dp h540dp 320dpi lrg long land television -touch -keyb/v/h dpad/v winConfig={ mBounds=Rect(0, 0 - 1920, 1080) mAppBounds=Rect(0, 0 - 1920, 1080) mWindowingMode=fullscreen mDisplayWindowingMode=fullscreen mActivityType=undefined mAlwaysOnTop=undefined mRotation=ROTATION_0} s.8}
    mLastReportedConfiguration={0.0 ?mcc?mnc ?localeList ?layoutDir ?swdp ?wdp ?hdp ?density ?lsize ?long ?ldr ?wideColorGamut ?orien ?uimode ?night ?touch ?keyb/?/? ?nav/? winConfig={ mBounds=Rect(0, 0 - 0, 0) mAppBounds=null mWindowingMode=undefined mDisplayWindowingMode=undefined mActivityType=undefined mAlwaysOnTop=undefined mRotation=undefined}}
    mHasSurface=false isReadyForDisplay()=false mWindowRemovalAllowed=false
    Frames: containing=[0,0][1920,1080] parent=[0,0][1920,1080]
        display=[0,0][1920,1080] overscan=[0,0][1920,1080]
        content=[0,0][0,0] visible=[0,0][1920,1080]
        decor=[0,0][1920,1080]
        outset=[0,0][0,0]
    mFrame=[0,0][0,0] last=[0,0][0,0]
     cutout=DisplayCutout{insets=Rect(0, 0 - 0, 0) boundingRect={Bounds=[Rect(0, 0 - 0, 0), Rect(0, 0 - 0, 0), Rect(0, 0 - 0, 0), Rect(0, 0 - 0, 0)]}} last=DisplayCutout{insets=Rect(0, 0 - 0, 0) boundingRect={Bounds=[Rect(0, 0 - 0, 0), Rect(0, 0 - 0, 0), Rect(0, 0 - 0, 0), Rect(0, 0 - 0, 0)]}}
    Cur insets: overscan=[0,0][0,0] content=[0,0][0,0] visible=[0,0][0,0] stable=[0,0][0,0] outsets=[0,0][0,0]    Lst insets: overscan=[0,0][0,0] content=[0,0][0,0] visible=[0,0][0,0] stable=[0,0][0,0] outset=[0,0][0,0]
     surface=[0,0][0,0]
    WindowStateAnimator{fa196ac DockedStackDivider}:
      mDrawState=NO_SURFACE       mLastHidden=false
      mSystemDecorRect=[0,0][0,0] mLastClipRect=[0,0][0,0]
      mShownAlpha=0.0 mAlpha=1.0 mLastAlpha=0.0
    mForceSeamlesslyRotate=false seamlesslyRotate: pending=null finishedFrameNumber=0
    isOnScreen=false
    isVisible=false
  Window #3 Window{be3b8c6 u0 uk.co.bbc.sounds/external.androidtv.bbciplayer.PlayerActivity}:
    mDisplayId=0 stackId=204 mSession=Session{eaef4ab 7675:u0a10072} mClient=android.os.BinderProxy@3034ea1
    mOwnerUid=10072 mShowToOwnerOnly=true package=uk.co.bbc.sounds appop=NONE
    mAttrs={(0,0)(fillxfill) sim={adjust=resize} ty=BASE_APPLICATION fmt=TRANSLUCENT wanim=0x10302fe
      fl=KEEP_SCREEN_ON LAYOUT_IN_SCREEN LAYOUT_INSET_DECOR SPLIT_TOUCH HARDWARE_ACCELERATED LOCAL_FOCUS_MODE DRAWS_SYSTEM_BAR_BACKGROUNDS
      pfl=FORCE_DRAW_STATUS_BAR_BACKGROUND}
    Requested w=1920 h=1080 mLayoutSeq=7410
    mBaseLayer=21000 mSubLayer=0    mToken=AppWindowToken{f523af4 token=Token{65ae4c7 ActivityRecord{4259606 u0 uk.co.bbc.sounds/external.androidtv.bbciplayer.PlayerActivity t206}}}
    mAppToken=AppWindowToken{f523af4 token=Token{65ae4c7 ActivityRecord{4259606 u0 uk.co.bbc.sounds/external.androidtv.bbciplayer.PlayerActivity t206}}}
    mAppDied=false    drawnStateEvaluated=true    mightAffectAllDrawn=true
    mViewVisibility=0x0 mHaveFrame=true mObscured=false
    mSeq=0 mSystemUiVisibility=0x0
    mGivenContentInsets=[0,0][0,0] mGivenVisibleInsets=[0,0][0,0]
    mFullConfiguration={1.0 ?mcc?mnc [en_GB] ldltr sw540dp w960dp h540dp 320dpi lrg long land television -touch -keyb/v/h dpad/v winConfig={ mBounds=Rect(0, 0 - 1920, 1080) mAppBounds=Rect(0, 0 - 1920, 1080) mWindowingMode=fullscreen mDisplayWindowingMode=fullscreen mActivityType=standard mAlwaysOnTop=undefined mRotation=ROTATION_0} s.2}
    mLastReportedConfiguration={1.0 ?mcc?mnc [en_GB] ldltr sw540dp w960dp h540dp 320dpi lrg long land television -touch -keyb/v/h dpad/v winConfig={ mBounds=Rect(0, 0 - 1920, 1080) mAppBounds=Rect(0, 0 - 1920, 1080) mWindowingMode=fullscreen mDisplayWindowingMode=fullscreen mActivityType=standard mAlwaysOnTop=undefined mRotation=ROTATION_0} s.2}
    mHasSurface=true isReadyForDisplay()=true mWindowRemovalAllowed=false
    Frames: containing=[0,0][1920,1080] parent=[0,0][1920,1080]
        display=[0,0][1920,1080] overscan=[0,0][1920,1080]
        content=[0,0][1920,1080] visible=[0,0][1920,1080]
        decor=[0,0][1920,1080]
        outset=[0,0][1920,1080]
    mFrame=[0,0][1920,1080] last=[0,0][1920,1080]
     cutout=DisplayCutout{insets=Rect(0, 0 - 0, 0) boundingRect={Bounds=[Rect(0, 0 - 0, 0), Rect(0, 0 - 0, 0), Rect(0, 0 - 0, 0), Rect(0, 0 - 0, 0)]}} last=DisplayCutout{insets=Rect(0, 0 - 0, 0) boundingRect={Bounds=[Rect(0, 0 - 0, 0), Rect(0, 0 - 0, 0), Rect(0, 0 - 0, 0), Rect(0, 0 - 0, 0)]}}
    Cur insets: overscan=[0,0][0,0] content=[0,0][0,0] visible=[0,0][0,0] stable=[0,0][0,0] outsets=[0,0][0,0]    Lst insets: overscan=[0,0][0,0] content=[0,0][0,0] visible=[0,0][0,0] stable=[0,0][0,0] outset=[0,0][0,0]
     surface=[0,0][0,0]
    WindowStateAnimator{e833c47 uk.co.bbc.sounds/external.androidtv.bbciplayer.PlayerActivity}:
      mSurface=Surface(name=uk.co.bbc.sounds/external.androidtv.bbciplayer.PlayerActivity)/@0x287c74
      Surface: shown=true layer=0 alpha=1.0 rect=(0.0,0.0) 1920 x 1080 transform=(1.0, 0.0, 1.0, 0.0)
      mDrawState=HAS_DRAWN       mLastHidden=false
      mSystemDecorRect=[0,0][1920,1080] mLastClipRect=[0,0][1920,1080]
    mForceSeamlesslyRotate=false seamlesslyRotate: pending=null finishedFrameNumber=0
    isOnScreen=true
    isVisible=true
  Window #4 Window{a7d70eb u0 com.google.android.apps.tv.launcherx/com.google.android.apps.tv.launcherx.home.HomeActivity}:
    mDisplayId=0 stackId=0 mSession=Session{16a36cf 2327:u0a10037} mClient=android.os.BinderProxy@a6fec3a
    mOwnerUid=10037 mShowToOwnerOnly=true package=com.google.android.apps.tv.launcherx appop=NONE
    mAttrs={(0,0)(fillxfill) sim={adjust=pan} ty=BASE_APPLICATION fmt=TRANSLUCENT wanim=0x10302fe
      fl=LAYOUT_IN_SCREEN LAYOUT_INSET_DECOR SPLIT_TOUCH HARDWARE_ACCELERATED LOCAL_FOCUS_MODE DRAWS_SYSTEM_BAR_BACKGROUNDS
      pfl=FORCE_DRAW_STATUS_BAR_BACKGROUND}
    Requested w=1920 h=1080 mLayoutSeq=7391
    mBaseLayer=21000 mSubLayer=0    mToken=AppWindowToken{a6ddd1b token=Token{64aab2a ActivityRecord{dbdfb1e u0 com.google.android.apps.tv.launcherx/.home.HomeActivity t2}}}
    mAppToken=AppWindowToken{a6ddd1b token=Token{64aab2a ActivityRecord{dbdfb1e u0 com.google.android.apps.tv.launcherx/.home.HomeActivity t2}}}
    mAppDied=false    drawnStateEvaluated=true    mightAffectAllDrawn=true
    mViewVisibility=0x8 mHaveFrame=true mObscured=false
    mSeq=0 mSystemUiVisibility=0x0
    mGivenContentInsets=[0,0][0,0] mGivenVisibleInsets=[0,0][0,0]
    mFullConfiguration={1.0 ?mcc?mnc [en_GB] ldltr sw540dp w960dp h540dp 320dpi lrg long land television -touch -keyb/v/h dpad/v winConfig={ mBounds=Rect(0, 0 - 1920, 1080) mAppBounds=Rect(0, 0 - 1920, 1080) mWindowingMode=fullscreen mDisplayWindowingMode=fullscreen mActivityType=home mAlwaysOnTop=undefined mRotation=ROTATION_0} s.2}
    mLastReportedConfiguration={1.0 ?mcc?mnc [en_GB] ldltr sw540dp w960dp h540dp 320dpi lrg long land television -touch -keyb/v/h dpad/v winConfig={ mBounds=Rect(0, 0 - 1920, 1080) mAppBounds=Rect(0, 0 - 1920, 1080) mWindowingMode=fullscreen mDisplayWindowingMode=fullscreen mActivityType=home mAlwaysOnTop=undefined mRotation=ROTATION_0} s.2}
    mHasSurface=false isReadyForDisplay()=false mWindowRemovalAllowed=false
    Frames: containing=[0,0][1920,1080] parent=[0,0][1920,1080]
        display=[0,0][1920,1080] overscan=[0,0][1920,1080]
        content=[0,0][1920,1080] visible=[0,0][1920,1080]
        decor=[0,0][1920,1080]
        outset=[0,0][1920,1080]
    mFrame=[0,0][1920,1080] last=[0,0][1920,1080]
     cutout=DisplayCutout{insets=Rect(0, 0 - 0, 0) boundingRect={Bounds=[Rect(0, 0 - 0, 0), Rect(0, 0 - 0, 0), Rect(0, 0 - 0, 0), Rect(0, 0 - 0, 0)]}} last=DisplayCutout{insets=Rect(0, 0 - 0, 0) boundingRect={Bounds=[Rect(0, 0 - 0, 0), Rect(0, 0 - 0, 0), Rect(0, 0 - 0, 0), Rect(0, 0 - 0, 0)]}}
    Cur insets: overscan=[0,0][0,0] content=[0,0][0,0] visible=[0,0][0,0] stable=[0,0][0,0] outsets=[0,0][0,0]    Lst insets: overscan=[0,0][0,0] content=[0,0][0,0] visible=[0,0][0,0] stable=[0,0][0,0] outset=[0,0][0,0]
     surface=[0,0][0,0]
    WindowStateAnimator{3a667c5 com.google.android.apps.tv.launcherx/com.google.android.apps.tv.launcherx.home.HomeActivity}:
      mDrawState=NO_SURFACE       mLastHidden=true
      mSystemDecorRect=[0,0][1920,1080] mLastClipRect=[0,0][1920,1080]
    mLastFreezeDuration=+6d14h40m34s680ms
    mForceSeamlesslyRotate=false seamlesslyRotate: pending=null finishedFrameNumber=0
    isOnScreen=false
    isVisible=false
  Window #5 Window{83f809b u0 com.google.android.youtube.tv/com.google.android.apps.youtube.tv.activity.MainActivity}:
    mDisplayId=0 stackId=203 mSession=Session{fefaa74 10275:u0a10063} mClient=android.os.BinderProxy@296acaa
    mOwnerUid=10063 mShowToOwnerOnly=true package=com.google.android.youtube.tv appop=NONE
    mAttrs={(0,0)(fillxfill) sim={adjust=resize} ty=BASE_APPLICATION fmt=TRANSLUCENT wanim=0x10302fe
      fl=LAYOUT_IN_SCREEN LAYOUT_INSET_DECOR SPLIT_TOUCH HARDWARE_ACCELERATED DRAWS_SYSTEM_BAR_BACKGROUNDS
      pfl=FORCE_DRAW_STATUS_BAR_BACKGROUND}
    Requested w=1920 h=1080 mLayoutSeq=7350
    mBaseLayer=21000 mSubLayer=0    mToken=AppWindowToken{4a74384 token=Token{fd37597 ActivityRecord{3f5a816 u0 com.google.android.youtube.tv/com.google.android.apps.youtube.tv.activity.MainActivity t205}}}
    mAppToken=AppWindowToken{4a74384 token=Token{fd37597 ActivityRecord{3f5a816 u0 com.google.android.youtube.tv/com.google.android.apps.youtube.tv.activity.MainActivity t205}}}
    mAppDied=false    drawnStateEvaluated=true    mightAffectAllDrawn=true
    mViewVisibility=0x8 mHaveFrame=true mObscured=false
    mSeq=0 mSystemUiVisibility=0x0
    mGivenContentInsets=[0,0][0,0] mGivenVisibleInsets=[0,0][0,0]
    mFullConfiguration={1.0 ?mcc?mnc [en_GB] ldltr sw540dp w960dp h540dp 320dpi lrg long land television -touch -keyb/v/h dpad/v winConfig={ mBounds=Rect(0, 0 - 1920, 1080) mAppBounds=Rect(0, 0 - 1920, 1080) mWindowingMode=fullscreen mDisplayWindowingMode=fullscreen mActivityType=standard mAlwaysOnTop=undefined mRotation=ROTATION_0} s.1}
    mLastReportedConfiguration={1.0 ?mcc?mnc [en_GB] ldltr sw540dp w960dp h540dp 320dpi lrg long land television -touch -keyb/v/h dpad/v winConfig={ mBounds=Rect(0, 0 - 1920, 1080) mAppBounds=Rect(0, 0 - 1920, 1080) mWindowingMode=fullscreen mDisplayWindowingMode=fullscreen mActivityType=standard mAlwaysOnTop=undefined mRotation=ROTATION_0} s.1}
    mHasSurface=false isReadyForDisplay()=false mWindowRemovalAllowed=false
    Frames: containing=[0,0][1920,1080] parent=[0,0][1920,1080]
        display=[0,0][1920,1080] overscan=[0,0][1920,1080]
        content=[0,0][1920,1080] visible=[0,0][1920,1080]
        decor=[0,0][1920,1080]
        outset=[0,0][0,0]
    mFrame=[0,0][1920,1080] last=[0,0][1920,1080]
     cutout=DisplayCutout{insets=Rect(0, 0 - 0, 0) boundingRect={Bounds=[Rect(0, 0 - 0, 0), Rect(0, 0 - 0, 0), Rect(0, 0 - 0, 0), Rect(0, 0 - 0, 0)]}} last=DisplayCutout{insets=Rect(0, 0 - 0, 0) boundingRect={Bounds=[Rect(0, 0 - 0, 0), Rect(0, 0 - 0, 0), Rect(0, 0 - 0, 0), Rect(0, 0 - 0, 0)]}}
    Cur insets: overscan=[0,0][0,0] content=[0,0][0,0] visible=[0,0][0,0] stable=[0,0][0,0] outsets=[0,0][0,0]    Lst insets: overscan=[0,0][0,0] content=[0,0][0,0] visible=[0,0][0,0] stable=[0,0][0,0] outset=[0,0][0,0]
     surface=[0,0][0,0]
    WindowStateAnimator{ed4aa5 com.google.android.youtube.tv/com.google.android.apps.youtube.tv.activity.MainActivity}:
      mDrawState=NO_SURFACE       mLastHidden=true
      mSystemDecorRect=[0,0][1920,1080] mLastClipRect=[0,0][1920,1080]
    mForceSeamlesslyRotate=false seamlesslyRotate: pending=null finishedFrameNumber=0
    isOnScreen=false
    isVisible=false
  Window #6 Window{29d4f66 u0 com.android.systemui.ImageWallpaper}:
    mDisplayId=0 stackId=0 mSession=Session{9583a80 3999:u0a10039} mClient=android.os.BinderProxy@1209bc1
    mOwnerUid=10039 mShowToOwnerOnly=true package=com.android.systemui appop=NONE
    mAttrs={(0,0)(1920x1920) gr=TOP START CENTER layoutInDisplayCutoutMode=always ty=WALLPAPER fmt=RGBX_8888 wanim=0x103030e
      fl=NOT_FOCUSABLE NOT_TOUCHABLE LAYOUT_IN_SCREEN LAYOUT_NO_LIMITS SCALED LAYOUT_INSET_DECOR
      pfl=WANTS_OFFSET_NOTIFICATIONS}
    Requested w=64 h=64 mLayoutSeq=5080
    mIsImWindow=false mIsWallpaper=true mIsFloatingLayer=true mWallpaperVisible=false
    mBaseLayer=11000 mSubLayer=0    mToken=WallpaperWindowToken{fda8d78 token=android.os.Binder@9469edb}
    mViewVisibility=0x0 mHaveFrame=true mObscured=false
    mSeq=0 mSystemUiVisibility=0x0
    mGivenContentInsets=[0,0][0,0] mGivenVisibleInsets=[0,0][0,0]
    mFullConfiguration={1.0 ?mcc?mnc [en_GB] ldltr sw540dp w960dp h540dp 320dpi lrg long land television -touch -keyb/v/h dpad/v winConfig={ mBounds=Rect(0, 0 - 1920, 1080) mAppBounds=Rect(0, 0 - 1920, 1080) mWindowingMode=fullscreen mDisplayWindowingMode=fullscreen mActivityType=undefined mAlwaysOnTop=undefined mRotation=ROTATION_0} s.8}
    mLastReportedConfiguration={1.0 ?mcc?mnc [en_GB] ldltr sw540dp w960dp h540dp 320dpi lrg long land television -touch -keyb/v/h dpad/v winConfig={ mBounds=Rect(0, 0 - 1920, 1080) mAppBounds=Rect(0, 0 - 1920, 1080) mWindowingMode=fullscreen mDisplayWindowingMode=fullscreen mActivityType=undefined mAlwaysOnTop=undefined mRotation=ROTATION_0} s.8}
    mHasSurface=true isReadyForDisplay()=false mWindowRemovalAllowed=false
    Frames: containing=[0,0][1920,1080] parent=[0,0][1920,1080]
        display=[-10000,-10000][10000,10000] overscan=[0,0][1920,1080]
        content=[0,0][1920,1080] visible=[0,0][0,0]
        decor=[0,0][0,0]
        outset=[0,0][1920,1080]
    mFrame=[0,0][1920,1920] last=[0,0][1920,1920]
     cutout=DisplayCutout{insets=Rect(0, 0 - 0, 0) boundingRect={Bounds=[Rect(0, 0 - 0, 0), Rect(0, 0 - 0, 0), Rect(0, 0 - 0, 0), Rect(0, 0 - 0, 0)]}} last=DisplayCutout{insets=Rect(0, 0 - 0, 0) boundingRect={Bounds=[Rect(0, 0 - 0, 0), Rect(0, 0 - 0, 0), Rect(0, 0 - 0, 0), Rect(0, 0 - 0, 0)]}}
    Cur insets: overscan=[0,0][0,0] content=[0,0][0,840] visible=[0,0][1920,1920] stable=[0,0][0,840] outsets=[0,0][0,0]    Lst insets: overscan=[0,0][0,0] content=[0,0][0,840] visible=[0,0][1920,1920] stable=[0,0][0,840] outset=[0,0][0,0]
     surface=[0,0][0,0]
    WindowStateAnimator{9e77198 com.android.systemui.ImageWallpaper}:
      mSurface=Surface(name=com.android.systemui.ImageWallpaper)/@0xfb7ddf1
      Surface: shown=false layer=0 alpha=1.0 rect=(0.0,-420.0) 64 x 64 transform=(30.0, 0.0, 30.0, 0.0)
      mDrawState=HAS_DRAWN       mLastHidden=true
      mSystemDecorRect=[0,0][0,0] mLastClipRect=[0,0][0,0]
    mLastFreezeDuration=+20s442ms
    mForceSeamlesslyRotate=false seamlesslyRotate: pending=null finishedFrameNumber=0
    mHScale=30.0 mVScale=30.0
    mWallpaperX=0.0 mWallpaperY=0.5
    isOnScreen=true
    isVisible=false

  mGlobalConfiguration={1.0 ?mcc?mnc [en_GB] ldltr sw540dp w960dp h540dp 320dpi lrg long land television -touch -keyb/v/h dpad/v winConfig={ mBounds=Rect(0, 0 - 1920, 1080) mAppBounds=Rect(0, 0 - 1920, 1080) mWindowingMode=fullscreen mDisplayWindowingMode=fullscreen mActivityType=undefined mAlwaysOnTop=undefined mRotation=ROTATION_0} s.8}
  mHasPermanentDpad=true
  mTopFocusedDisplayId=0
  mInTouchMode=false
  mLastDisplayFreezeDuration=0 due to Window{a7d70eb u0 com.google.android.apps.tv.launcherx/com.google.android.apps.tv.launcherx.home.HomeActivity}
  mLastWakeLockHoldingWindow=Window{be3b8c6 u0 uk.co.bbc.sounds/external.androidtv.bbciplayer.PlayerActivity} mLastWakeLockObscuringWindow=null
  mFullSnapshotScale=1.0
  SnapshotCache
  mTraversalScheduled=false
  mHoldScreenWindow=Window{be3b8c6 u0 uk.co.bbc.sounds/external.androidtv.bbciplayer.PlayerActivity}
  mObscuringWindow=null
  mSystemBooted=true mDisplayEnabled=true
  mTransactionSequence=9860
  mDisplayFrozen=false windows=0 client=false apps=0  mRotation=0  mLastWindowForcedOrientation=-1 mLastOrientation=-1
 waitingForConfig=false
  Animation settings: disabled=false window=1.0 transition=1.0 animator=1.0
  PolicyControl.sImmersiveStatusFilter=null
  PolicyControl.sImmersiveNavigationFilter=null
  PolicyControl.sImmersivePreconfirmationsFilter=null

while running the BBC Sounds app which appears as Windows #3

Have I missed something and I need to set some apps to be ignored, or is this a bug in the integration?

I also installed the Notifications for Android TV app on the CCwGT and it now shows the running app as:

app_id: ‘DockedStackDivider}:’
app_name: ‘DockedStackDivider}:’
source: ‘DockedStackDivider}:’

even tho Netflix is currently playing.

Regarding incorrect detection of the current app, could someone please try this command and post the result:

CURRENT_APP=$(dumpsys activity a . | grep -E 'mResumedActivity' | cut -d ' ' -f 8) && CURRENT_APP=${CURRENT_APP%%/*} && echo $CURRENT_APP

That shows

app_id: de.cyberdream.androidtv.notifications.google}:
app_name: de.cyberdream.androidtv.notifications.google}:
source: de.cyberdream.androidtv.notifications.google}:
adb_response: com.google.android.youtube.tv

i.e. the adb_response is correct while the standard ones are wrong.

Same here:

app_id: 'DockedStackDivider}:'
app_name: 'DockedStackDivider}:'
source: 'DockedStackDivider}:'
adb_response: com.disney.disneyplus

Actually one other thing I noticed right now is that the state of the CCwGTV is listed as ‘paused’ even though it is playing. Is this a case of the state_detection_rules needing to be explicitly set up, or should it really be picking up the state correctly on its own…?

1 Like

Thanks for testing, @kevjs1982 and @Valdorama. I submitted a pull request to fix it. It just needs to get reviewed, along with the previous pull request.

https://github.com/home-assistant/core/pull/42861

2 Likes

State detection is done on a per-app basis in the backend androidtv package; as you alluded to, this can be customized via the state_detection_rules configuration parameter. Because it’s not getting the correct app, this affects the state detection. Also, the app is necessary for getting the “media session state” property, so again the incorrect app could be causing issues.

1 Like

Great, cheers. Will give it a bash once it’s available.


That’s done the trick, now showing the active app on 0.118.0

I’ve randomly started having this issue recently with Chromecast w/ Google TV. Not sure what changed. It’s worked fine for months.

I only see off, standby and idle states. ADB command’s are working, I went through some of the commands listed above, if I can add any more info please let me know!

With youtube playing:

adb_response: |-
  WINDOW MANAGER WINDOWS (dumpsys window windows)
    Window #0 Window{98a2f4e u0 InputMethod}:
      mDisplayId=0 stackId=0 mSession=Session{250c502 4240:u0a10056} mClient=android.os.BinderProxy@cc6ea49
      mOwnerUid=10056 mShowToOwnerOnly=true package=com.google.android.inputmethod.latin appop=NONE
      mAttrs={(0,0)(fillxfill) gr=BOTTOM CENTER_VERTICAL sim={adjust=pan} ty=INPUT_METHOD fmt=TRANSPARENT wanim=0x1030056
        fl=NOT_FOCUSABLE LAYOUT_IN_SCREEN SPLIT_TOUCH HARDWARE_ACCELERATED DRAWS_SYSTEM_BAR_BACKGROUNDS}
      Requested w=1920 h=1080 mLayoutSeq=159
      mIsImWindow=true mIsWallpaper=false mIsFloatingLayer=true mWallpaperVisible=false
      mBaseLayer=151000 mSubLayer=0    mToken=WindowToken{10df3e4 android.os.Binder@d9f2b77}
      mViewVisibility=0x8 mHaveFrame=true mObscured=false
      mSeq=0 mSystemUiVisibility=0x0
      mGivenContentInsets=[0,1080][0,0] mGivenVisibleInsets=[0,1080][0,0]
      mTouchableInsets=3 mGivenInsetsPending=false
      touchable region=SkRegion((0,600,1920,1080))
      mFullConfiguration={1.0 ?mcc?mnc [en_US] ldltr sw540dp w960dp h540dp 320dpi lrg long land television -touch -keyb/v/h dpad/v winConfig={ mBounds=Rect(0, 0 - 1920, 1080) mAppBounds=Rect(0, 0 - 1920, 1080) mWindowingMode=fullscreen mDisplayWindowingMode=fullscreen mActivityType=undefined mAlwaysOnTop=undefined mRotation=ROTATION_0} s.4}
      mLastReportedConfiguration={1.0 ?mcc?mnc [en_US] ldltr sw540dp w960dp h540dp 320dpi lrg long land television -touch -keyb/v/h dpad/v winConfig={ mBounds=Rect(0, 0 - 1920, 1080) mAppBounds=Rect(0, 0 - 1920, 1080) mWindowingMode=fullscreen mDisplayWindowingMode=fullscreen mActivityType=undefined mAlwaysOnTop=undefined mRotation=ROTATION_0} s.4}
      mHasSurface=false isReadyForDisplay()=false mWindowRemovalAllowed=false
      Frames: containing=[0,0][1920,1080] parent=[0,0][1920,1080]
          display=[0,0][1920,1080] overscan=[0,0][1920,1080]
          content=[0,0][1920,1080] visible=[0,0][1920,1080]
          decor=[0,0][0,0]
          outset=[0,0][0,0]
      mFrame=[0,0][1920,1080] last=[0,0][1920,1080]
       cutout=DisplayCutout{insets=Rect(0, 0 - 0, 0) boundingRect={Bounds=[Rect(0, 0 - 0, 0), Rect(0, 0 - 0, 0), Rect(0, 0 - 0, 0), Rect(0, 0 - 0, 0)]}} last=DisplayCutout{insets=Rect(0, 0 - 0, 0) boundingRect={Bounds=[Rect(0, 0 - 0, 0), Rect(0, 0 - 0, 0), Rect(0, 0 - 0, 0), Rect(0, 0 - 0, 0)]}}
      Cur insets: overscan=[0,0][0,0] content=[0,0][0,0] visible=[0,0][0,0] stable=[0,0][0,0] outsets=[0,0][0,0]    Lst insets: overscan=[0,0][0,0] content=[0,0][0,0] visible=[0,0][0,0] stable=[0,0][0,0] outset=[0,0][0,0]
       surface=[0,0][0,0]
      WindowStateAnimator{94a3f1a InputMethod}:
        mDrawState=NO_SURFACE       mLastHidden=true
        mSystemDecorRect=[0,0][1920,1080] mLastClipRect=[0,0][1920,1080]
      mForceSeamlesslyRotate=false seamlesslyRotate: pending=null finishedFrameNumber=0
      isOnScreen=false
      isVisible=false
    Window #1 Window{6b074b2 u0 DockedStackDivider}:
      mDisplayId=0 stackId=0 mSession=Session{f42c381 3999:u0a10039} mClient=android.os.BinderProxy@ec81e14
      mOwnerUid=10039 mShowToOwnerOnly=false package=com.android.systemui appop=NONE
      mAttrs={(0,0)(96xfill) sim={adjust=pan} layoutInDisplayCutoutMode=always ty=DOCK_DIVIDER fmt=TRANSLUCENT
        fl=NOT_FOCUSABLE NOT_TOUCH_MODAL WATCH_OUTSIDE_TOUCH SPLIT_TOUCH HARDWARE_ACCELERATED FLAG_SLIPPERY
        pfl=NO_MOVE_ANIMATION
        vsysui=LAYOUT_STABLE LAYOUT_HIDE_NAVIGATION LAYOUT_FULLSCREEN}
      Requested w=96 h=1080 mLayoutSeq=315
      mBaseLayer=21000 mSubLayer=0    mToken=WindowToken{bd716bd android.os.BinderProxy@97be067}
      mViewVisibility=0x4 mHaveFrame=true mObscured=false
      mSeq=0 mSystemUiVisibility=0x700
      mPolicyVisibility=false mLegacyPolicyVisibilityAfterAnim=false mAppOpVisibility=true parentHidden=false mPermanentlyHidden=false mHiddenWhileSuspended=false mForceHideNonSystemOverlayWindow=false
      mGivenContentInsets=[0,0][0,0] mGivenVisibleInsets=[0,0][0,0]
      mTouchableInsets=3 mGivenInsetsPending=false
      touchable region=SkRegion((0,-96,96,96))
      mFullConfiguration={1.0 ?mcc?mnc [en_US] ldltr sw540dp w960dp h540dp 320dpi lrg long land television -touch -keyb/v/h dpad/v winConfig={ mBounds=Rect(0, 0 - 1920, 1080) mAppBounds=Rect(0, 0 - 1920, 1080) mWindowingMode=fullscreen mDisplayWindowingMode=fullscreen mActivityType=undefined mAlwaysOnTop=undefined mRotation=ROTATION_0} s.4}
      mLastReportedConfiguration={0.0 ?mcc?mnc ?localeList ?layoutDir ?swdp ?wdp ?hdp ?density ?lsize ?long ?ldr ?wideColorGamut ?orien ?uimode ?night ?touch ?keyb/?/? ?nav/? winConfig={ mBounds=Rect(0, 0 - 0, 0) mAppBounds=null mWindowingMode=undefined mDisplayWindowingMode=undefined mActivityType=undefined mAlwaysOnTop=undefined mRotation=undefined}}
      mHasSurface=false isReadyForDisplay()=false mWindowRemovalAllowed=false
      Frames: containing=[0,0][1920,1080] parent=[0,0][1920,1080]
          display=[0,0][1920,1080] overscan=[0,0][1920,1080]
          content=[0,0][0,0] visible=[0,0][1920,1080]
          decor=[0,0][1920,1080]
          outset=[0,0][0,0]
      mFrame=[0,0][0,0] last=[0,0][0,0]
       cutout=DisplayCutout{insets=Rect(0, 0 - 0, 0) boundingRect={Bounds=[Rect(0, 0 - 0, 0), Rect(0, 0 - 0, 0), Rect(0, 0 - 0, 0), Rect(0, 0 - 0, 0)]}} last=DisplayCutout{insets=Rect(0, 0 - 0, 0) boundingRect={Bounds=[Rect(0, 0 - 0, 0), Rect(0, 0 - 0, 0), Rect(0, 0 - 0, 0), Rect(0, 0 - 0, 0)]}}
      Cur insets: overscan=[0,0][0,0] content=[0,0][0,0] visible=[0,0][0,0] stable=[0,0][0,0] outsets=[0,0][0,0]    Lst insets: overscan=[0,0][0,0] content=[0,0][0,0] visible=[0,0][0,0] stable=[0,0][0,0] outset=[0,0][0,0]
       surface=[0,0][0,0]
      WindowStateAnimator{bf2fa4b DockedStackDivider}:
        mDrawState=NO_SURFACE       mLastHidden=false
        mSystemDecorRect=[0,0][0,0] mLastClipRect=[0,0][0,0]
        mShownAlpha=0.0 mAlpha=1.0 mLastAlpha=0.0
      mForceSeamlesslyRotate=false seamlesslyRotate: pending=null finishedFrameNumber=0
      isOnScreen=false
      isVisible=false
    Window #2 Window{bbe159f u0 com.google.android.apps.tv.dreamx/android.service.dreams.DreamActivity}:
      mDisplayId=0 stackId=9 mSession=Session{c08ec0 311:u0a10029} mClient=android.os.BinderProxy@e36233e
      mOwnerUid=10029 mShowToOwnerOnly=true package=com.google.android.apps.tv.dreamx appop=NONE
      mAttrs={(0,0)(fillxfill) sim={adjust=pan forwardNavigation} ty=BASE_APPLICATION fmt=TRANSLUCENT wanim=0x10302f4
        fl=ALLOW_LOCK_WHILE_SCREEN_ON KEEP_SCREEN_ON LAYOUT_IN_SCREEN FULLSCREEN LAYOUT_INSET_DECOR SHOW_WHEN_LOCKED DISMISS_KEYGUARD SPLIT_TOUCH HARDWARE_ACCELERATED
        pfl=FORCE_DRAW_STATUS_BAR_BACKGROUND
        vsysui=LOW_PROFILE}
      Requested w=1920 h=1080 mLayoutSeq=315
      mBaseLayer=21000 mSubLayer=0    mToken=AppWindowToken{d5812a8 token=Token{4bf3acb ActivityRecord{a7f46bc u0 com.google.android.apps.tv.dreamx/android.service.dreams.DreamActivity t1917}}}
      mAppToken=AppWindowToken{d5812a8 token=Token{4bf3acb ActivityRecord{a7f46bc u0 com.google.android.apps.tv.dreamx/android.service.dreams.DreamActivity t1917}}}
      mAppDied=false    drawnStateEvaluated=true    mightAffectAllDrawn=true
      mViewVisibility=0x0 mHaveFrame=true mObscured=false
      mSeq=0 mSystemUiVisibility=0x1
      mGivenContentInsets=[0,0][0,0] mGivenVisibleInsets=[0,0][0,0]
      mFullConfiguration={1.0 ?mcc?mnc [en_US] ldltr sw540dp w960dp h540dp 320dpi lrg long land television -touch -keyb/v/h dpad/v winConfig={ mBounds=Rect(0, 0 - 1920, 1080) mAppBounds=Rect(0, 0 - 1920, 1080) mWindowingMode=fullscreen mDisplayWindowingMode=fullscreen mActivityType=dream mAlwaysOnTop=undefined mRotation=ROTATION_0} s.1}
      mLastReportedConfiguration={1.0 ?mcc?mnc [en_US] ldltr sw540dp w960dp h540dp 320dpi lrg long land television -touch -keyb/v/h dpad/v winConfig={ mBounds=Rect(0, 0 - 1920, 1080) mAppBounds=Rect(0, 0 - 1920, 1080) mWindowingMode=fullscreen mDisplayWindowingMode=fullscreen mActivityType=dream mAlwaysOnTop=undefined mRotation=ROTATION_0} s.1}
      mHasSurface=true isReadyForDisplay()=true mWindowRemovalAllowed=false
      Frames: containing=[0,0][1920,1080] parent=[0,0][1920,1080]
          display=[0,0][1920,1080] overscan=[0,0][1920,1080]
          content=[0,0][1920,1080] visible=[0,0][1920,1080]
          decor=[0,0][1920,1080]
          outset=[0,0][1920,1080]
      mFrame=[0,0][1920,1080] last=[0,0][1920,1080]
       cutout=DisplayCutout{insets=Rect(0, 0 - 0, 0) boundingRect={Bounds=[Rect(0, 0 - 0, 0), Rect(0, 0 - 0, 0), Rect(0, 0 - 0, 0), Rect(0, 0 - 0, 0)]}} last=DisplayCutout{insets=Rect(0, 0 - 0, 0) boundingRect={Bounds=[Rect(0, 0 - 0, 0), Rect(0, 0 - 0, 0), Rect(0, 0 - 0, 0), Rect(0, 0 - 0, 0)]}}
      Cur insets: overscan=[0,0][0,0] content=[0,0][0,0] visible=[0,0][0,0] stable=[0,0][0,0] outsets=[0,0][0,0]    Lst insets: overscan=[0,0][0,0] content=[0,0][0,0] visible=[0,0][0,0] stable=[0,0][0,0] outset=[0,0][0,0]
       surface=[0,0][0,0]
      WindowStateAnimator{604956d com.google.android.apps.tv.dreamx/android.service.dreams.DreamActivity}:
        mSurface=Surface(name=com.google.android.apps.tv.dreamx/android.service.dreams.DreamActivity)/@0x4c905a2
        Surface: shown=true layer=0 alpha=1.0 rect=(0.0,0.0) 1920 x 1080 transform=(1.0, 0.0, 1.0, 0.0)
        mDrawState=HAS_DRAWN       mLastHidden=false
        mSystemDecorRect=[0,0][1920,1080] mLastClipRect=[0,0][1920,1080]
      mForceSeamlesslyRotate=false seamlesslyRotate: pending=null finishedFrameNumber=0
      isOnScreen=true
      isVisible=true
    Window #3 Window{265530e u0 com.google.android.apps.tv.launcherx/com.google.android.apps.tv.launcherx.home.HomeActivity}:
      mDisplayId=0 stackId=0 mSession=Session{92b5ad3 4618:u0a10037} mClient=android.os.BinderProxy@acd4509
      mOwnerUid=10037 mShowToOwnerOnly=true package=com.google.android.apps.tv.launcherx appop=NONE
      mAttrs={(0,0)(fillxfill) sim={adjust=pan} ty=BASE_APPLICATION fmt=TRANSLUCENT wanim=0x10302fe
        fl=LAYOUT_IN_SCREEN LAYOUT_INSET_DECOR SPLIT_TOUCH HARDWARE_ACCELERATED LOCAL_FOCUS_MODE DRAWS_SYSTEM_BAR_BACKGROUNDS
        pfl=FORCE_DRAW_STATUS_BAR_BACKGROUND}
      Requested w=1920 h=1080 mLayoutSeq=308
      mBaseLayer=21000 mSubLayer=0    mToken=AppWindowToken{3ada745 token=Token{f63fbbc ActivityRecord{9db8baf u0 com.google.android.apps.tv.launcherx/.home.HomeActivity t1908}}}
      mAppToken=AppWindowToken{3ada745 token=Token{f63fbbc ActivityRecord{9db8baf u0 com.google.android.apps.tv.launcherx/.home.HomeActivity t1908}}}
      mAppDied=false    drawnStateEvaluated=true    mightAffectAllDrawn=true
      mViewVisibility=0x8 mHaveFrame=true mObscured=false
      mSeq=0 mSystemUiVisibility=0x0
      mGivenContentInsets=[0,0][0,0] mGivenVisibleInsets=[0,0][0,0]
      mFullConfiguration={1.0 ?mcc?mnc [en_US] ldltr sw540dp w960dp h540dp 320dpi lrg long land television -touch -keyb/v/h dpad/v winConfig={ mBounds=Rect(0, 0 - 1920, 1080) mAppBounds=Rect(0, 0 - 1920, 1080) mWindowingMode=fullscreen mDisplayWindowingMode=fullscreen mActivityType=home mAlwaysOnTop=undefined mRotation=ROTATION_0} s.2}
      mLastReportedConfiguration={1.0 ?mcc?mnc [en_US] ldltr sw540dp w960dp h540dp 320dpi lrg long land television -touch -keyb/v/h dpad/v winConfig={ mBounds=Rect(0, 0 - 1920, 1080) mAppBounds=Rect(0, 0 - 1920, 1080) mWindowingMode=fullscreen mDisplayWindowingMode=fullscreen mActivityType=home mAlwaysOnTop=undefined mRotation=ROTATION_0} s.2}
      mHasSurface=false isReadyForDisplay()=false mWindowRemovalAllowed=false
      Frames: containing=[0,0][1920,1080] parent=[0,0][1920,1080]
          display=[0,0][1920,1080] overscan=[0,0][1920,1080]
          content=[0,0][1920,1080] visible=[0,0][1920,1080]
          decor=[0,0][1920,1080]
          outset=[0,0][1920,1080]
      mFrame=[0,0][1920,1080] last=[0,0][1920,1080]
       cutout=DisplayCutout{insets=Rect(0, 0 - 0, 0) boundingRect={Bounds=[Rect(0, 0 - 0, 0), Rect(0, 0 - 0, 0), Rect(0, 0 - 0, 0), Rect(0, 0 - 0, 0)]}} last=DisplayCutout{insets=Rect(0, 0 - 0, 0) boundingRect={Bounds=[Rect(0, 0 - 0, 0), Rect(0, 0 - 0, 0), Rect(0, 0 - 0, 0), Rect(0, 0 - 0, 0)]}}
      Cur insets: overscan=[0,0][0,0] content=[0,0][0,0] visible=[0,0][0,0] stable=[0,0][0,0] outsets=[0,0][0,0]    Lst insets: overscan=[0,0][0,0] content=[0,0][0,0] visible=[0,0][0,0] stable=[0,0][0,0] outset=[0,0][0,0]
       surface=[0,0][0,0]
      WindowStateAnimator{3d32e6 com.google.android.apps.tv.launcherx/com.google.android.apps.tv.launcherx.home.HomeActivity}:
        mDrawState=NO_SURFACE       mLastHidden=true
        mSystemDecorRect=[0,0][1920,1080] mLastClipRect=[0,0][1920,1080]
      mForceSeamlesslyRotate=false seamlesslyRotate: pending=null finishedFrameNumber=0
      isOnScreen=false
      isVisible=false
    Window #4 Window{237363a u0 com.google.android.youtube.tv/com.google.android.apps.youtube.tv.activity.MainActivity}:
      mDisplayId=0 stackId=8 mSession=Session{64cf52e 25457:u0a10067} mClient=android.os.BinderProxy@6f14965
      mOwnerUid=10067 mShowToOwnerOnly=true package=com.google.android.youtube.tv appop=NONE
      mAttrs={(0,0)(fillxfill) sim={adjust=resize} ty=BASE_APPLICATION fmt=TRANSLUCENT wanim=0x10302fe
        fl=LAYOUT_IN_SCREEN LAYOUT_INSET_DECOR SPLIT_TOUCH HARDWARE_ACCELERATED DRAWS_SYSTEM_BAR_BACKGROUNDS
        pfl=FORCE_DRAW_STATUS_BAR_BACKGROUND}
      Requested w=1920 h=1080 mLayoutSeq=298
      mBaseLayer=21000 mSubLayer=0    mToken=AppWindowToken{b770cd0 token=Token{d82a493 ActivityRecord{6508582 u0 com.google.android.youtube.tv/com.google.android.apps.youtube.tv.activity.MainActivity t1916}}}
      mAppToken=AppWindowToken{b770cd0 token=Token{d82a493 ActivityRecord{6508582 u0 com.google.android.youtube.tv/com.google.android.apps.youtube.tv.activity.MainActivity t1916}}}
      mAppDied=false    drawnStateEvaluated=true    mightAffectAllDrawn=true
      mViewVisibility=0x8 mHaveFrame=true mObscured=false
      mSeq=0 mSystemUiVisibility=0x0
      mGivenContentInsets=[0,0][0,0] mGivenVisibleInsets=[0,0][0,0]
      mFullConfiguration={1.0 ?mcc?mnc [en_US] ldltr sw540dp w960dp h540dp 320dpi lrg long land television -touch -keyb/v/h dpad/v winConfig={ mBounds=Rect(0, 0 - 1920, 1080) mAppBounds=Rect(0, 0 - 1920, 1080) mWindowingMode=fullscreen mDisplayWindowingMode=fullscreen mActivityType=standard mAlwaysOnTop=undefined mRotation=ROTATION_0} s.1}
      mLastReportedConfiguration={1.0 ?mcc?mnc [en_US] ldltr sw540dp w960dp h540dp 320dpi lrg long land television -touch -keyb/v/h dpad/v winConfig={ mBounds=Rect(0, 0 - 1920, 1080) mAppBounds=Rect(0, 0 - 1920, 1080) mWindowingMode=fullscreen mDisplayWindowingMode=fullscreen mActivityType=standard mAlwaysOnTop=undefined mRotation=ROTATION_0} s.1}
      mHasSurface=false isReadyForDisplay()=false mWindowRemovalAllowed=false
      Frames: containing=[0,0][1920,1080] parent=[0,0][1920,1080]
          display=[0,0][1920,1080] overscan=[0,0][1920,1080]
          content=[0,0][1920,1080] visible=[0,0][1920,1080]
          decor=[0,0][1920,1080]
          outset=[0,0][0,0]
      mFrame=[0,0][1920,1080] last=[0,0][1920,1080]
       cutout=DisplayCutout{insets=Rect(0, 0 - 0, 0) boundingRect={Bounds=[Rect(0, 0 - 0, 0), Rect(0, 0 - 0, 0), Rect(0, 0 - 0, 0), Rect(0, 0 - 0, 0)]}} last=DisplayCutout{insets=Rect(0, 0 - 0, 0) boundingRect={Bounds=[Rect(0, 0 - 0, 0), Rect(0, 0 - 0, 0), Rect(0, 0 - 0, 0), Rect(0, 0 - 0, 0)]}}
      Cur insets: overscan=[0,0][0,0] content=[0,0][0,0] visible=[0,0][0,0] stable=[0,0][0,0] outsets=[0,0][0,0]    Lst insets: overscan=[0,0][0,0] content=[0,0][0,0] visible=[0,0][0,0] stable=[0,0][0,0] outset=[0,0][0,0]
       surface=[0,0][0,0]
      WindowStateAnimator{c8874bb com.google.android.youtube.tv/com.google.android.apps.youtube.tv.activity.MainActivity}:
        mDrawState=NO_SURFACE       mLastHidden=true
        mSystemDecorRect=[0,0][1920,1080] mLastClipRect=[0,0][1920,1080]
      mForceSeamlesslyRotate=false seamlesslyRotate: pending=null finishedFrameNumber=0
      isOnScreen=false
      isVisible=false
    Window #5 Window{fea2cad u0 com.android.systemui.ImageWallpaper}:
      mDisplayId=0 stackId=0 mSession=Session{f42c381 3999:u0a10039} mClient=android.os.BinderProxy@9e315c4
      mOwnerUid=10039 mShowToOwnerOnly=true package=com.android.systemui appop=NONE
      mAttrs={(0,0)(1920x1920) gr=TOP START CENTER layoutInDisplayCutoutMode=always ty=WALLPAPER fmt=RGBX_8888 wanim=0x103030e
        fl=NOT_FOCUSABLE NOT_TOUCHABLE LAYOUT_IN_SCREEN LAYOUT_NO_LIMITS SCALED LAYOUT_INSET_DECOR
        pfl=WANTS_OFFSET_NOTIFICATIONS}
      Requested w=64 h=64 mLayoutSeq=172
      mIsImWindow=false mIsWallpaper=true mIsFloatingLayer=true mWallpaperVisible=false
      mBaseLayer=11000 mSubLayer=0    mToken=WallpaperWindowToken{ee801a6 token=android.os.Binder@c79af01}
      mViewVisibility=0x0 mHaveFrame=true mObscured=false
      mSeq=0 mSystemUiVisibility=0x0
      mGivenContentInsets=[0,0][0,0] mGivenVisibleInsets=[0,0][0,0]
      mFullConfiguration={1.0 ?mcc?mnc [en_US] ldltr sw540dp w960dp h540dp 320dpi lrg long land television -touch -keyb/v/h dpad/v winConfig={ mBounds=Rect(0, 0 - 1920, 1080) mAppBounds=Rect(0, 0 - 1920, 1080) mWindowingMode=fullscreen mDisplayWindowingMode=fullscreen mActivityType=undefined mAlwaysOnTop=undefined mRotation=ROTATION_0} s.4}
      mLastReportedConfiguration={1.0 ?mcc?mnc [en_US] ldltr sw540dp w960dp h540dp 320dpi lrg long land television -touch -keyb/v/h dpad/v winConfig={ mBounds=Rect(0, 0 - 1920, 1080) mAppBounds=Rect(0, 0 - 1920, 1080) mWindowingMode=fullscreen mDisplayWindowingMode=fullscreen mActivityType=undefined mAlwaysOnTop=undefined mRotation=ROTATION_0} s.4}
      mHasSurface=true isReadyForDisplay()=false mWindowRemovalAllowed=false
      Frames: containing=[0,0][1920,1080] parent=[0,0][1920,1080]
          display=[-10000,-10000][10000,10000] overscan=[0,0][1920,1080]
          content=[0,0][1920,1080] visible=[0,0][0,0]
          decor=[0,0][0,0]
          outset=[0,0][1920,1080]
      mFrame=[0,0][1920,1920] last=[0,0][1920,1920]
       cutout=DisplayCutout{insets=Rect(0, 0 - 0, 0) boundingRect={Bounds=[Rect(0, 0 - 0, 0), Rect(0, 0 - 0, 0), Rect(0, 0 - 0, 0), Rect(0, 0 - 0, 0)]}} last=DisplayCutout{insets=Rect(0, 0 - 0, 0) boundingRect={Bounds=[Rect(0, 0 - 0, 0), Rect(0, 0 - 0, 0), Rect(0, 0 - 0, 0), Rect(0, 0 - 0, 0)]}}
      Cur insets: overscan=[0,0][0,0] content=[0,0][0,840] visible=[0,0][1920,1920] stable=[0,0][0,840] outsets=[0,0][0,0]    Lst insets: overscan=[0,0][0,0] content=[0,0][0,840] visible=[0,0][1920,1920] stable=[0,0][0,840] outset=[0,0][0,0]
       surface=[0,0][0,0]
      WindowStateAnimator{374f027 com.android.systemui.ImageWallpaper}:
        mSurface=Surface(name=com.android.systemui.ImageWallpaper)/@0xf2052d4
        Surface: shown=false layer=0 alpha=1.0 rect=(0.0,-420.0) 64 x 64 transform=(30.0, 0.0, 30.0, 0.0)
        mDrawState=HAS_DRAWN       mLastHidden=true
        mSystemDecorRect=[0,0][0,0] mLastClipRect=[0,0][0,0]
      mLastFreezeDuration=+18s335ms
      mForceSeamlesslyRotate=false seamlesslyRotate: pending=null finishedFrameNumber=0
      mHScale=30.0 mVScale=30.0
      mWallpaperX=0.0 mWallpaperY=0.5
      isOnScreen=true
      isVisible=false

    mGlobalConfiguration={1.0 ?mcc?mnc [en_US] ldltr sw540dp w960dp h540dp 320dpi lrg long land television -touch -keyb/v/h dpad/v winConfig={ mBounds=Rect(0, 0 - 1920, 1080) mAppBounds=Rect(0, 0 - 1920, 1080) mWindowingMode=fullscreen mDisplayWindowingMode=fullscreen mActivityType=undefined mAlwaysOnTop=undefined mRotation=ROTATION_0} s.4}
    mHasPermanentDpad=true
    mTopFocusedDisplayId=0
    mInTouchMode=false
    mLastDisplayFreezeDuration=0 due to Window{fea2cad u0 com.android.systemui.ImageWallpaper}
    mLastWakeLockHoldingWindow=Window{bbe159f u0 com.google.android.apps.tv.dreamx/android.service.dreams.DreamActivity} mLastWakeLockObscuringWindow=null
    mFullSnapshotScale=1.0
    SnapshotCache
    mTraversalScheduled=false
    mHoldScreenWindow=Window{bbe159f u0 com.google.android.apps.tv.dreamx/android.service.dreams.DreamActivity}
    mObscuringWindow=null
    mSystemBooted=true mDisplayEnabled=true
    mTransactionSequence=477
    mDisplayFrozen=false windows=0 client=false apps=0  mRotation=0  mLastWindowForcedOrientation=-1 mLastOrientation=-1
   waitingForConfig=false
    Animation settings: disabled=false window=1.0 transition=1.0 animator=1.0
    PolicyControl.sImmersiveStatusFilter=null
    PolicyControl.sImmersiveNavigationFilter=null
    PolicyControl.sImmersivePreconfirmationsFilter=null
hdmi_input: null
friendly_name: Chromecast TV
entity_picture: >-
  /api/media_player_proxy/media_player.chromecast_tv?token=fb114cf89f2e7cd78ac41b7035010f8e35321c4b8b1054e817326ea16aa632e4&cache=1620479215.806658
supported_features: 23997


With youtube playing:


adb_response: >-
  111Wake Locks: size=2

  DockedStackDivider}:


  - STREAM_MUSIC:
     Muted: false
     Min: 0
     Max: 25
     streamVolume:25
     Current: 4 (headset): 10, 8 (headphone): 10, 80 (bt_a2dp): 12, 400 (hdmi): 25, 4000000 (usb_headset): 6, 40000000 (default): 20
     Devices: hdmi
  - STREAM_ALARM:
     Muted: false
     Min: 1
     Max: 7
     streamVolume:6
  u0_a39        3999  3533 1341820  45992 0                   0 S
  com.android.systemui

  u0_a56        4240  3533 1389096  62768 0                   0 S
  com.google.android.inputmethod.latin

  u0_a42        4275  3533 1304768  41776 0                   0 S
  com.google.android.tv.remote.service

  u0_a34        4311  3533 1429452  99924 0                   0 S
  com.google.android.gms.persistent

  u0_a34        4537  3533 1585328 113944 0                   0 S
  com.google.android.gms

  u0_a34        4574  3533 1308628  43104 0                   0 S
  com.google.process.gservices

  u0_a37        4618  3533 1646156 238608 0                   0 S
  com.google.android.apps.tv.launcherx

  u0_a37        4725  3533 1355764  66644 0                   0 S
  com.google.android.apps.tv.launcherx:coreservices

  u0_a66        4779  3533 1329028  59244 0                   0 S
  com.spotify.tv.android

  u0_a33        5282  3533 1301532  43352 0                   0 S
  com.google.android.tv.axel

  u0_a41        5511  3533 1448488  74756 0                   0 S
  com.google.android.apps.mediashell

  u0_a48        7059  3533 1381488  46684 0                   0 S
  com.google.android.tts

  u0_a44        7241  3533 1421404 105900 0                   0 S
  com.android.vending

  u0_a62        7365  3533 1290932  35692 0                   0 S
  com.google.android.tv.remotecontrol.logging

  u0_a34        8083  3533 1377376  78176 0                   0 S
  com.google.android.gms.unstable

  u0_a4        14704  3533 1298016  66608 0                   0 S
  com.android.providers.tv

  u0_a82       14728  3533 1470196  94160 0                   0 S
  com.google.android.youtube.tvunplugged

  u0_a64       16960  3533 1567020  63508 0                   0 S com.hbo.hbonow

  u0_a31       18412  3533 1798892 155508 0                   0 S
  com.google.android.katniss:search

  u0_a31       18464  3533 1802604 158008 0                   0 S
  com.google.android.katniss:interactor

  u0_a30       19554  3533 1292436  55628 0                   0 S
  com.google.android.partnersetup

  u0_a93       19595  3533 1632252 102856 0                   0 S
  com.bamnetworks.mobile.android.gameday.atbat

  u0_a92       19756  3533 2151792 106700 0                   0 S
  com.surfshark.vpnclient.android

  u0_a41       19776  3533 1409116  51088 0                   0 S
  com.google.android.apps.mediashell:privileged_process0

  u0_a54       19856  3533 1636444 102016 0                   0 S
  com.google.android.videos

  u0_a90       19866  3533 1328836  90760 0                   0 S
  com.rma.netpulsetv

  u0_a34       19983  3533 1294804  66024 0                   0 S
  com.google.process.gapps

  u0_a8        20294  3533 1291884  60432 0                   0 S
  com.android.providers.calendar

  u0_a7        20321  3533 1291080  63488 0                   0 S
  android.process.media

  u0_a77       20344  3533 1725856  73832 0                   0 S
  com.hulu.livingroomplus

  u0_a67       25457  3533 1915584 210900 0                   0 S
  com.google.android.youtube.tv
hdmi_input: null
friendly_name: Chromecast TV
entity_picture: >-
  /api/media_player_proxy/media_player.chromecast_tv?token=fb114cf89f2e7cd78ac41b7035010f8e35321c4b8b1054e817326ea16aa632e4&cache=1620481377.839447
supported_features: 23997

With youtube playing:

adb_response: com.google.android.youtube.tv
hdmi_input: null
friendly_name: Chromecast TV
entity_picture: >-
  /api/media_player_proxy/media_player.chromecast_tv?token=fb114cf89f2e7cd78ac41b7035010f8e35321c4b8b1054e817326ea16aa632e4&cache=1620482626.982883
supported_features: 23997