Skip to content

Commit

Permalink
Fix play_media in webostv (#30828)
Browse files Browse the repository at this point in the history
  • Loading branch information
bendavid authored and frenck committed Jan 16, 2020
1 parent bef8600 commit d1da653
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion homeassistant/components/webostv/media_player.py
Original file line number Diff line number Diff line change
Expand Up @@ -351,7 +351,7 @@ async def async_play_media(self, media_type, media_id, **kwargs):
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
Expand Down

0 comments on commit d1da653

Please sign in to comment.