I’m trying to launch an app on my Apple TV from Home Assistant.
According to the documentation, this should be possible using either media_player.select_source or media_player.play_media with a deep link, but I can’t get either method to work.
My Apple TV integration only exposes these entities:
media_player.apple_tv
media_player.apple_tv_remote
remote.apple_tv
There is no source_list and I don’t see any app IDs or available apps in the entity attributes.
So my questions are:
Is it currently possible to launch arbitrary apps on Apple TV from Home Assistant?
If so, how do I discover the correct app ID or deep link?
Or is this feature only available for apps that explicitly support deep linking?
I’m using the latest Home Assistant version and the official Apple TV integration.
It would be helpful if you posted some of the YAML of attempts you made. Otherwise we are just guessing. Also, “latest version” isn’t as helpful as telling us what version. You might think you’re on the latest version, but maybe you aren’t. That’s important in this case, because just recently the AppleTV integration stopped reporting the app list, so this wasn’t working. That was resolved with HA 2027.7.0 and later.
Here’s a script I have that will launch a streaming service by name that is passed into the script.
alias: Launch Streaming Service
fields:
streaming_service:
description: The Steaming Service to Use
example: Netflix
sequence:
- data:
source: "{{ streaming_service }}"
target:
entity_id: media_player.appletv_4k
action: media_player.select_source
mode: single
icon: mdi:television