1
0
mirror of https://github.com/elisspace/core.git synced 2026-09-03 06:26:06 +00:00

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