web_server_base AUTO_LOAD includes ASYNC_TCP (#788)

* web_server_base AUTO_LOAD includes ASYNC_TCP

fix AUTO_LOAD of web_server_base to include ASYNC_TCP

* Remove from dependencies


Co-authored-by: Otto Winter <otto@otto-winter.com>
This commit is contained in:
Nils Schulte 2019-10-21 23:05:50 +02:00 committed by Otto Winter
parent 1177b856a0
commit 9fb60b8015

View file

@ -3,7 +3,8 @@ import esphome.codegen as cg
from esphome.const import CONF_ID from esphome.const import CONF_ID
from esphome.core import coroutine_with_priority, CORE from esphome.core import coroutine_with_priority, CORE
DEPENDENCIES = ['network', 'async_tcp'] DEPENDENCIES = ['network']
AUTO_LOAD = ['async_tcp']
web_server_base_ns = cg.esphome_ns.namespace('web_server_base') web_server_base_ns = cg.esphome_ns.namespace('web_server_base')
WebServerBase = web_server_base_ns.class_('WebServerBase', cg.Component) WebServerBase = web_server_base_ns.class_('WebServerBase', cg.Component)