Updated November 2026 for Home Assistant 2026.10. Older guides (including the first version of this one) send you straight to ADB and developer mode. That still works, but there is now an easier official option that covers most people.
Getting your TV into Home Assistant gives you a media player entity you can put on a dashboard, plus automations like “pause the TV when the doorbell rings” or “dim the lights when a movie starts”. There are two integrations for Android based TVs, and picking the right one first saves a lot of frustration.
What you need
An Android TV or Google TV device on the same network as Home Assistant: a TV with Google TV built in, an NVIDIA Shield, or a streaming box like the Google TV Streamer. Give it a DHCP reservation in your router (a setting that gives a device the same address every time) so its IP address never changes. That one step prevents most “it worked yesterday” problems.
SONOFF ZBDongle-E (Zigbee 3.0 USB)Cheap, well supported Zigbee coordinator for ZHA or Zigbee2MQTT.Check price on AliExpressAqara Motion Sensor P1 (Zigbee)Fast, long battery life motion sensor for lighting automations.Check price on AliExpressShelly 1PM Gen3 relayGoes behind your existing wall switch, keeps it working, local API and power metering.Check price on AliExpressWhich integration should you use
- Android TV Remote (recommended): uses the same protocol as the Google TV remote app. Pairing with a code on screen, power on and off, remote keys, app launching, volume. No developer settings. Does not work with Fire TV.
- Android Debug Bridge (advanced): talks ADB to the device. Gives you raw ADB shell commands and more detailed state for some apps. Needs developer mode and network debugging. This is the one to use for Fire TV.
You can run both on the same TV. Many people use Android TV Remote for daily control and add ADB only for one or two special commands.
Option 1: Android TV Remote integration
- Turn on the TV.
- In Home Assistant, go to Settings > Devices & services. Your TV often shows up as discovered. If not, click Add integration and search for Android TV Remote.
- Enter the TV’s IP address if asked.
- A pairing code appears on the TV. Type it into Home Assistant and submit.
You get a media_player entity and a remote entity. Use the remote entity to send key presses:
action: remote.send_command
target:
entity_id: remote.living_room_tv
data:
command: DPAD_DOWN
Common commands are HOME, BACK, DPAD_UP, DPAD_DOWN, DPAD_LEFT, DPAD_RIGHT, DPAD_CENTER, VOLUME_UP, VOLUME_DOWN, MUTE and MEDIA_PLAY_PAUSE. To open an app, pass its package name (the app’s internal ID, like com.netflix.ninja) or a deep link as the activity:
action: remote.turn_on
target:
entity_id: remote.living_room_tv
data:
activity: com.google.android.youtube.tv
You can also set up app icons for the media player under the integration’s Configure options.
Option 2: Android Debug Bridge integration
Turn on developer mode and network debugging
- On the TV, open Settings > System > About (on some models Settings > Device Preferences > About).
- Select Android TV OS build (or Build) seven times until it says you are a developer.
- Go back to System (or Device Preferences), open Developer options and turn on USB debugging. On some devices it is called Network debugging or ADB debugging.
On Fire TV, enable ADB debugging under Settings > My Fire TV > Developer options. If Developer options is missing, open About and select the device name seven times. We have a separate walkthrough with screenshots for activating developer mode on Android TV.
Add the integration
- Go to Settings > Devices & services > Add integration and search for Android Debug Bridge.
- Enter the TV’s IP address, keep port
5555, and submit. - Watch the TV. An “Allow USB debugging?” prompt appears. Tick Always allow from this computer and choose OK.
Send ADB commands
action: androidtv.adb_command
target:
entity_id: media_player.living_room_tv
data:
command: HOME
Key names like HOME, BACK, UP, DOWN, CENTER, POWER and SLEEP work directly. Anything else is a shell command:
action: androidtv.adb_command
target:
entity_id: media_player.living_room_tv
data:
command: "monkey -p com.netflix.ninja -c android.intent.category.LAUNCHER 1"
The monkey line launches an app by package name without needing to know its activity name. Find package names with adb shell pm list packages from a computer. The result of a command lands in the media player’s adb_response attribute.
Build a remote on your dashboard
Wrap commands in scripts so they become buttons:
tv_home:
alias: TV home
icon: mdi:home
sequence:
- action: remote.send_command
target:
entity_id: remote.living_room_tv
data:
command: HOME
type: vertical-stack
cards:
- type: media-control
entity: media_player.living_room_tv
- type: horizontal-stack
cards:
- type: button
entity: script.tv_home
name: Home
tap_action:
action: perform-action
perform_action: script.tv_home
For a full D-pad style remote, the community Android TV Card is worth a look. It installs through HACS or the new Marketplace.
Automation ideas
- Dim the living room lights when the TV starts playing, and bring them back on pause.
- Pause playback when the doorbell rings, then show the camera.
- Turn the TV off at 1 AM if nobody is home or everyone is asleep.
- Use the TV remote itself to control lights, as in our guide on controlling lights with your TV remote.
alias: Dim lights when TV plays
triggers:
- trigger: state
entity_id: media_player.living_room_tv
to: playing
conditions:
- condition: sun
after: sunset
actions:
- action: light.turn_on
target:
area_id: living_room
data:
brightness_pct: 20
transition: 3
Troubleshooting
- Android TV Remote cannot find the TV. Make sure the TV is on and on the same network. If you use VLANs, mDNS must reach Home Assistant, or enter the IP manually.
- Power on does not work. Many TVs drop off the network in deep standby. Look for a setting like “Network standby” or “Turn on via Wi-Fi” in the TV’s power settings. Some TVs only wake over Ethernet.
- ADB keeps disconnecting. Only one ADB client can talk to the device at a time. Close any other ADB connection from your computer, and reload the integration.
- The ADB allow prompt never appears. Debugging was turned off by a firmware update. Re-enable it in Developer options and reload the integration.
- State is stuck on idle or playing. Detection depends on the app. The ADB integration lets you tune state detection rules per app in its options.
Frequently Asked Questions
Do I need ADB to connect Android TV to Home Assistant?
No. The Android TV Remote integration pairs with a code shown on the TV and covers power, remote keys, volume and app launching. You only need ADB for raw shell commands or for Fire TV devices.
Does the Android TV Remote integration work with Fire TV?
No. Fire TV does not run the Google TV remote service. Use the Android Debug Bridge integration with ADB debugging enabled on the Fire TV.
How do I launch an app on Android TV from Home Assistant?
With Android TV Remote, call remote.turn_on with the app’s package name as the activity, for example com.google.android.youtube.tv. With ADB, send a monkey command with the package name through androidtv.adb_command.
Why can Home Assistant not turn my Android TV on?
The TV is probably cutting its network connection in standby. Enable network standby or wake on network in the TV’s power settings, or connect it with Ethernet.
Can I use both Android TV integrations at once?
Yes. They are separate integrations and can control the same TV. Android TV Remote handles daily control, ADB adds advanced commands.






