mirror of
https://github.com/home-assistant/core.git
synced 2025-07-24 13:47:35 +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:
|
||||
hass.data[DATA_KEY] = {}
|
||||
|
||||
if DOMAIN not in config:
|
||||
return False
|
||||
|
||||
connection_failed = 0
|
||||
gateways = config[DOMAIN][CONF_GATEWAYS]
|
||||
for gateway in gateways:
|
||||
|
Loading…
x
Reference in New Issue
Block a user