core: Android Debug Bridge (AndroidTV) app_id frequently shows "Failed to write while dumping service window: Broken pipe"

The problem

I have an automation (below) that triggers based on the app_Id from the device via Android Debug Bridge. Since 2023.10.4, the platform state attributes often responds with:

app_id: Failed to write while dumping service window: Broken pipe
app_name: Failed to write while dumping service window: Broken pipe
source: Failed to write while dumping service window: Broken pipe
adb_response: null

This causes automations to trigger based on the state change away from the expected values (testing for com.valvesoftware.steamlink).

What version of Home Assistant Core has the issue?

core-2023.10.4

What was the last working version of Home Assistant Core?

No response

What type of installation are you running?

Home Assistant Container

Integration causing the issue

Android Debug Bridge

Link to integration documentation on our website

https://www.home-assistant.io/integrations/androidtv/

Diagnostics information

config_entry-androidtv-7afc03507b3c3581fd74a1456248daa2.json.txt

Example YAML snippet

- id: Game Mode On 
  alias: Game mode on
  trigger:
    platform: state
    entity_id: media_player.living_room_nvidia_shield
    attribute: app_id
    to: com.valvesoftware.steamlink
  action: ...

- id: Game Mode Off
  alias: Game mode off
  trigger:
    platform: state
    entity_id: media_player.living_room_nvidia_shield
    attribute: app_id
    from: com.valvesoftware.steamlink
  action: ...

Anything in the logs that might be useful for us?

No response

Additional information

One other user (spunkt123) has reported the issue https://community.home-assistant.io/t/home-assistant-community-add-on-adb-android-debug-bridge/96375/445

About this issue

  • Original URL
  • State: open
  • Created 7 months ago
  • Reactions: 8
  • Comments: 18 (3 by maintainers)

Most upvoted comments

Same issue on Shield TV Pro

I have this issue aswell.

I also have this issue with my Hisense tv.

I have this error with my Nvidia Shield Pro 2019

I also have this issue with my shield pro 2019

I’m having this issue with my shield pro 2019.

I’m having this issue with my shield pro 2019