Useless code removed (#13996)

This commit is contained in:
Sebastian Muszynski 2018-04-19 11:42:40 +02:00 committed by Daniel Høyer Iversen
parent 3180c8b0fb
commit 0999129f48

View File

@ -49,9 +49,6 @@ def setup(hass, config):
if DATA_KEY not in hass.data:
hass.data[DATA_KEY] = {}
if DOMAIN not in config:
return False
connection_failed = 0
gateways = config[DOMAIN][CONF_GATEWAYS]
for gateway in gateways: