Skip to content

Commit

Permalink
Pass entity_id to async_resolve_media
Browse files Browse the repository at this point in the history
  • Loading branch information
jjlawren committed Nov 27, 2022
1 parent 049f016 commit 4ebd67a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion custom_components/sonos_cloud/media_player.py
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ async def async_play_media(
"""
if media_source.is_media_source_id(media_id):
media_source_item = await media_source.async_resolve_media(
self.hass, media_id
self.hass, media_id, self.entity_id
)
media_id = async_process_play_media_url(self.hass, media_source_item.url)

Expand Down

0 comments on commit 4ebd67a

Please sign in to comment.