Remove unnecessary try around import
parent
3c05c8d1db
commit
f192a15a8f
|
@ -33,11 +33,7 @@ def setup(hass, config):
|
|||
_LOGGER):
|
||||
return False
|
||||
|
||||
try:
|
||||
import insteon
|
||||
except ImportError:
|
||||
_LOGGER.error("Error while importing dependency Insteon.")
|
||||
return False
|
||||
|
||||
username = config[DOMAIN][CONF_USERNAME]
|
||||
password = config[DOMAIN][CONF_PASSWORD]
|
||||
|
|
Loading…
Reference in New Issue