Fix exceptions when using newer Samsung TVs (#31602)

* try to fix websocket problems

* use tuple

* catch websocket exceptions

* typo
This commit is contained in:
escoand 2020-02-08 12:03:35 +01:00 committed by GitHub
parent baa9184b33
commit 0823ee4385
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 36 additions and 10 deletions

View file

@ -9,5 +9,3 @@ DEFAULT_NAME = "Samsung TV"
CONF_MANUFACTURER = "manufacturer"
CONF_MODEL = "model"
CONF_ON_ACTION = "turn_on_action"
METHODS = ("websocket", "legacy")