This commit is contained in:
Otto Winter 2019-02-28 10:14:28 +01:00
parent f3ee5b55e9
commit 69a74a30e8
No known key found for this signature in database
GPG Key ID: DB66C0BE6013F97E

View File

@ -8,8 +8,8 @@ from esphome.const import CONF_DATA, CONF_DATA_TEMPLATE, CONF_ID, CONF_PASSWORD,
from esphome.core import CORE from esphome.core import CORE
from esphome.cpp_generator import Pvariable, add, get_variable, process_lambda from esphome.cpp_generator import Pvariable, add, get_variable, process_lambda
from esphome.cpp_helpers import setup_component from esphome.cpp_helpers import setup_component
from esphome.cpp_types import Action, App, Component, StoringController, esphome_ns, Trigger, bool_, \ from esphome.cpp_types import Action, App, Component, StoringController, esphome_ns, Trigger, \
int32, float_, std_string bool_, int32, float_, std_string
api_ns = esphome_ns.namespace('api') api_ns = esphome_ns.namespace('api')
APIServer = api_ns.class_('APIServer', Component, StoringController) APIServer = api_ns.class_('APIServer', Component, StoringController)