mirror of
https://github.com/home-assistant/core.git
synced 2025-07-28 07:37:34 +00:00
Useless code removed (#13996)
This commit is contained in:
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:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user