diff --git a/esphomeyaml/components/web_server.py b/esphomeyaml/components/web_server.py index 8092cec4a9..ef4be334db 100644 --- a/esphomeyaml/components/web_server.py +++ b/esphomeyaml/components/web_server.py @@ -14,8 +14,8 @@ WebServer = esphomelib_ns.WebServer CONFIG_SCHEMA = vol.Schema({ cv.GenerateID(): cv.declare_variable_id(WebServer), vol.Optional(CONF_PORT): cv.port, - vol.Optional(CONF_CSS_URL): vol.Url, - vol.Optional(CONF_JS_URL): vol.Url, + vol.Optional(CONF_CSS_URL): cv.string, + vol.Optional(CONF_JS_URL): cv.string, })