From 81a4ea220ec5d4be889eae7b0d8516562e97b351 Mon Sep 17 00:00:00 2001 From: Geoffrey Oxholm Date: Wed, 2 Oct 2024 10:48:08 -0700 Subject: [PATCH] fix as noted in issue 461 --- custom_components/spotcast/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/custom_components/spotcast/__init__.py b/custom_components/spotcast/__init__.py index 9741ac24..1bb2eeae 100644 --- a/custom_components/spotcast/__init__.py +++ b/custom_components/spotcast/__init__.py @@ -143,7 +143,7 @@ def get_devices(): me_resp = client._get("me") # pylint: disable=W0212 spotify_media_player = get_spotify_media_player( hass, me_resp["id"]) - resp = get_spotify_devices(spotify_media_player) + resp = get_spotify_devices(spotify_media_player, hass) connection.send_message( websocket_api.result_message(msg["id"], resp))