Bugfix samsungtv discovery (#6438)

This commit is contained in:
Pascal Vizeli 2017-03-05 23:52:15 +01:00 committed by GitHub
parent 1b23b32817
commit a8add06a40

View File

@ -62,6 +62,7 @@ def setup_platform(hass, config, add_devices, discovery_info=None):
name = "{} ({})".format(tv_name, model)
port = DEFAULT_PORT
timeout = DEFAULT_TIMEOUT
mac = None
else:
_LOGGER.warning(
'Internal error on samsungtv component. Cannot determine device')