Fix play_media in webostv (#30828)

This commit is contained in:
Josh Bendavid 2020-01-16 12:30:55 +01:00 committed by Franck Nijhof
parent bef8600972
commit d1da653e62

View File

@ -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