diff --git a/esphome/const.py b/esphome/const.py index 1b3a4e62a0..2b00cf9d2e 100644 --- a/esphome/const.py +++ b/esphome/const.py @@ -200,7 +200,7 @@ CONF_LEVEL = 'level' CONF_LG = 'lg' CONF_LIBRARIES = 'libraries' CONF_LIGHT = 'light' -CONF_LOADED_INTEGRATIONS = 'loaded_integration' +CONF_LOADED_INTEGRATIONS = 'loaded_integrations' CONF_LOCAL = 'local' CONF_LOGGER = 'logger' CONF_LOGS = 'logs' diff --git a/esphome/core.py b/esphome/core.py index d3d2bbc488..7aaf6b2c70 100644 --- a/esphome/core.py +++ b/esphome/core.py @@ -11,7 +11,7 @@ import re from typing import Any, Dict, List # noqa from esphome.const import CONF_ARDUINO_VERSION, CONF_ESPHOME, CONF_USE_ADDRESS, CONF_WIFI, \ - SOURCE_FILE_EXTENSIONS, CONF_LOADED_INTEGRATIONS + SOURCE_FILE_EXTENSIONS from esphome.helpers import ensure_unique_string, is_hassio from esphome.py_compat import IS_PY2, integer_types, text_type, string_types from esphome.util import OrderedDict @@ -757,4 +757,4 @@ class EnumValue(object): CORE = EsphomeCore() ConfigType = Dict[str, Any] -CoreType = EsphomeCore \ No newline at end of file +CoreType = EsphomeCore diff --git a/esphome/dashboard/dashboard.py b/esphome/dashboard/dashboard.py index 567850049a..22a7dfa105 100644 --- a/esphome/dashboard/dashboard.py +++ b/esphome/dashboard/dashboard.py @@ -431,10 +431,10 @@ class DashboardEntry(object): return const.__version__ @property - def web_server_enabled(self): + def loaded_integrations(self): if self.storage is None: return False - return self.storage.web_server_enabled + return self.storage.loaded_integrations class MainRequestHandler(BaseHandler): diff --git a/esphome/dashboard/templates/index.html b/esphome/dashboard/templates/index.html index ff13c2f167..edf1123c63 100644 --- a/esphome/dashboard/templates/index.html +++ b/esphome/dashboard/templates/index.html @@ -67,7 +67,7 @@