mirror of
https://github.com/home-assistant/core
synced 2024-08-06 09:34:49 +02:00
Fix legacy Samsung TV (#32719)
* Update bridge.py * Update test_init.py
This commit is contained in:
parent
233568ac29
commit
f9a0b4b3cf
@ -130,10 +130,11 @@ class SamsungTVLegacyBridge(SamsungTVBridge):
|
||||
super().__init__(method, host, None)
|
||||
self.config = {
|
||||
CONF_NAME: VALUE_CONF_NAME,
|
||||
CONF_ID: VALUE_CONF_ID,
|
||||
CONF_DESCRIPTION: VALUE_CONF_NAME,
|
||||
CONF_METHOD: method,
|
||||
CONF_ID: VALUE_CONF_ID,
|
||||
CONF_HOST: host,
|
||||
CONF_METHOD: method,
|
||||
CONF_PORT: None,
|
||||
CONF_TIMEOUT: 1,
|
||||
}
|
||||
|
||||
|
@ -34,6 +34,7 @@ REMOTE_CALL = {
|
||||
"id": "ha.component.samsung",
|
||||
"method": "legacy",
|
||||
"host": MOCK_CONFIG[SAMSUNGTV_DOMAIN][0][CONF_HOST],
|
||||
"port": None,
|
||||
"timeout": 1,
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user