From 3778e1cd7722bf03a422000c308c31b566dacd05 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Modzelewski?= Date: Fri, 16 Jun 2023 20:05:46 +0200 Subject: [PATCH] Support launching app deep links in apple_tv integration (#94705) --- homeassistant/components/apple_tv/media_player.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/homeassistant/components/apple_tv/media_player.py b/homeassistant/components/apple_tv/media_player.py index 4196dd1bd9a..a70a30656f2 100644 --- a/homeassistant/components/apple_tv/media_player.py +++ b/homeassistant/components/apple_tv/media_player.py @@ -282,7 +282,7 @@ class AppleTvMediaPlayer(AppleTVEntity, MediaPlayerEntity): """Send the play_media command to the media player.""" # If input (file) has a file format supported by pyatv, then stream it with # RAOP. Otherwise try to play it with regular AirPlay. - if media_type == MediaType.APP: + if media_type in {MediaType.APP, MediaType.URL}: await self.atv.apps.launch_app(media_id) return