From 27abff220aa5fa90fa684e35d0c559717e8a631b Mon Sep 17 00:00:00 2001 From: Paulus Schoutsen Date: Thu, 6 Apr 2023 00:02:10 -0400 Subject: [PATCH] Pass correct parameter when resolving media via WS --- homeassistant/components/media_source/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/homeassistant/components/media_source/__init__.py b/homeassistant/components/media_source/__init__.py index f3c5c92eaa6b3..62cf78156130a 100644 --- a/homeassistant/components/media_source/__init__.py +++ b/homeassistant/components/media_source/__init__.py @@ -193,7 +193,7 @@ async def websocket_resolve_media( ) -> None: """Resolve media.""" try: - media = await async_resolve_media(hass, msg["media_content_id"]) + media = await async_resolve_media(hass, msg["media_content_id"], None) except Unresolvable as err: connection.send_error(msg["id"], "resolve_media_failed", str(err)) return