Skip to content

Commit

Permalink
Extend websocket method usage to port 8002 in Samsung TV media player (
Browse files Browse the repository at this point in the history
  • Loading branch information
2sheds authored and balloob committed Jun 23, 2019
1 parent c296e9b commit dc6a44d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion homeassistant/components/samsungtv/media_player.py
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ def __init__(self, host, port, name, timeout, mac, uuid):
'timeout': timeout,
}

if self._config['port'] == 8001:
if self._config['port'] in (8001, 8002):
self._config['method'] = 'websocket'
else:
self._config['method'] = 'legacy'
Expand Down

0 comments on commit dc6a44d

Please sign in to comment.