mirror of
https://github.com/home-assistant/core.git
synced 2025-08-09 23:55:07 +02:00
Useless code removed (#13996)
This commit is contained in:
committed by
Daniel Høyer Iversen
parent
3180c8b0fb
commit
0999129f48
@@ -49,9 +49,6 @@ def setup(hass, config):
|
|||||||
if DATA_KEY not in hass.data:
|
if DATA_KEY not in hass.data:
|
||||||
hass.data[DATA_KEY] = {}
|
hass.data[DATA_KEY] = {}
|
||||||
|
|
||||||
if DOMAIN not in config:
|
|
||||||
return False
|
|
||||||
|
|
||||||
connection_failed = 0
|
connection_failed = 0
|
||||||
gateways = config[DOMAIN][CONF_GATEWAYS]
|
gateways = config[DOMAIN][CONF_GATEWAYS]
|
||||||
for gateway in gateways:
|
for gateway in gateways:
|
||||||
|
Reference in New Issue
Block a user