mirror of
https://github.com/home-assistant/core.git
synced 2025-07-19 19:27:45 +00:00
Extend websocket method usage to port 8002 in Samsung TV media player (#24716)
This commit is contained in:
parent
c296e9b9bb
commit
dc6a44d0eb
@ -120,7 +120,7 @@ class SamsungTVDevice(MediaPlayerDevice):
|
||||
'timeout': timeout,
|
||||
}
|
||||
|
||||
if self._config['port'] == 8001:
|
||||
if self._config['port'] in (8001, 8002):
|
||||
self._config['method'] = 'websocket'
|
||||
else:
|
||||
self._config['method'] = 'legacy'
|
||||
|
Loading…
x
Reference in New Issue
Block a user