mirror of
https://github.com/home-assistant/core.git
synced 2025-07-27 07:07:28 +00: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)
|
super().__init__(method, host, None)
|
||||||
self.config = {
|
self.config = {
|
||||||
CONF_NAME: VALUE_CONF_NAME,
|
CONF_NAME: VALUE_CONF_NAME,
|
||||||
CONF_ID: VALUE_CONF_ID,
|
|
||||||
CONF_DESCRIPTION: VALUE_CONF_NAME,
|
CONF_DESCRIPTION: VALUE_CONF_NAME,
|
||||||
CONF_METHOD: method,
|
CONF_ID: VALUE_CONF_ID,
|
||||||
CONF_HOST: host,
|
CONF_HOST: host,
|
||||||
|
CONF_METHOD: method,
|
||||||
|
CONF_PORT: None,
|
||||||
CONF_TIMEOUT: 1,
|
CONF_TIMEOUT: 1,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -34,6 +34,7 @@ REMOTE_CALL = {
|
|||||||
"id": "ha.component.samsung",
|
"id": "ha.component.samsung",
|
||||||
"method": "legacy",
|
"method": "legacy",
|
||||||
"host": MOCK_CONFIG[SAMSUNGTV_DOMAIN][0][CONF_HOST],
|
"host": MOCK_CONFIG[SAMSUNGTV_DOMAIN][0][CONF_HOST],
|
||||||
|
"port": None,
|
||||||
"timeout": 1,
|
"timeout": 1,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user