From 4c5d64762b8510a887f5c270c966c788ea09f9d6 Mon Sep 17 00:00:00 2001 From: Paulus Schoutsen Date: Mon, 14 Feb 2022 05:38:46 -0800 Subject: [PATCH] Fix cast turn on image (#66500) --- homeassistant/components/cast/media_player.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/homeassistant/components/cast/media_player.py b/homeassistant/components/cast/media_player.py index 565961e1b8c..74ca65ade06 100644 --- a/homeassistant/components/cast/media_player.py +++ b/homeassistant/components/cast/media_player.py @@ -411,7 +411,7 @@ class CastDevice(MediaPlayerEntity): # The only way we can turn the Chromecast is on is by launching an app if self._chromecast.cast_type == pychromecast.const.CAST_TYPE_CHROMECAST: - self._chromecast.play_media(CAST_SPLASH, pychromecast.STREAM_TYPE_BUFFERED) + self._chromecast.play_media(CAST_SPLASH, "image/png") else: self._chromecast.start_app(pychromecast.config.APP_MEDIA_RECEIVER)