Bump samsungtvws to 2.0.0 (#67351)

pull/67365/head
epenet 2022-02-28 02:29:31 +01:00 committed by GitHub
parent 1b97f48c1f
commit 1cca317294
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 5 additions and 5 deletions

View File

@ -355,7 +355,7 @@ class SamsungTVWSBridge(SamsungTVBridge):
timeout=config[CONF_TIMEOUT], timeout=config[CONF_TIMEOUT],
name=config[CONF_NAME], name=config[CONF_NAME],
) as remote: ) as remote:
remote.open("samsung.remote.control") remote.open()
self.token = remote.token self.token = remote.token
LOGGER.debug("Working config: %s", config) LOGGER.debug("Working config: %s", config)
return RESULT_SUCCESS return RESULT_SUCCESS
@ -432,7 +432,7 @@ class SamsungTVWSBridge(SamsungTVBridge):
name=VALUE_CONF_NAME, name=VALUE_CONF_NAME,
) )
if not avoid_open: if not avoid_open:
self._remote.open("samsung.remote.control") self._remote.open()
# This is only happening when the auth was switched to DENY # This is only happening when the auth was switched to DENY
# A removed auth will lead to socket timeout because waiting for auth popup is just an open socket # A removed auth will lead to socket timeout because waiting for auth popup is just an open socket
except ConnectionFailure as err: except ConnectionFailure as err:

View File

@ -5,7 +5,7 @@
"requirements": [ "requirements": [
"getmac==0.8.2", "getmac==0.8.2",
"samsungctl[websocket]==0.7.1", "samsungctl[websocket]==0.7.1",
"samsungtvws==1.7.0", "samsungtvws[async]==2.0.0",
"wakeonlan==2.0.1" "wakeonlan==2.0.1"
], ],
"ssdp": [ "ssdp": [

View File

@ -2099,7 +2099,7 @@ rxv==0.7.0
samsungctl[websocket]==0.7.1 samsungctl[websocket]==0.7.1
# homeassistant.components.samsungtv # homeassistant.components.samsungtv
samsungtvws==1.7.0 samsungtvws[async]==2.0.0
# homeassistant.components.satel_integra # homeassistant.components.satel_integra
satel_integra==0.3.4 satel_integra==0.3.4

View File

@ -1330,7 +1330,7 @@ rxv==0.7.0
samsungctl[websocket]==0.7.1 samsungctl[websocket]==0.7.1
# homeassistant.components.samsungtv # homeassistant.components.samsungtv
samsungtvws==1.7.0 samsungtvws[async]==2.0.0
# homeassistant.components.dhcp # homeassistant.components.dhcp
scapy==2.4.5 scapy==2.4.5