1
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:
escoand 2020-03-12 10:29:11 +01:00 committed by GitHub
parent 233568ac29
commit f9a0b4b3cf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 2 deletions

View File

@ -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,
}

View File

@ -34,6 +34,7 @@ REMOTE_CALL = {
"id": "ha.component.samsung",
"method": "legacy",
"host": MOCK_CONFIG[SAMSUNGTV_DOMAIN][0][CONF_HOST],
"port": None,
"timeout": 1,
}