mirror of
https://github.com/home-assistant/core.git
synced 2025-04-25 09:47:52 +00:00
Fix play_media in webostv (#30828)
This commit is contained in:
parent
bef8600972
commit
d1da653e62
@ -351,7 +351,7 @@ class LgWebOSMediaPlayerEntity(MediaPlayerDevice):
|
||||
partial_match_channel_id = None
|
||||
perfect_match_channel_id = None
|
||||
|
||||
for channel in self._client.get_channels():
|
||||
for channel in await self._client.get_channels():
|
||||
if media_id == channel["channelNumber"]:
|
||||
perfect_match_channel_id = channel["channelId"]
|
||||
continue
|
||||
|
Loading…
x
Reference in New Issue
Block a user