From d26cd85306ee925b5ae1021247633d2d075939a7 Mon Sep 17 00:00:00 2001 From: Otto Winter Date: Wed, 4 Dec 2019 15:59:08 +0100 Subject: [PATCH] web_server call setup_controller (#899) --- esphome/components/web_server/web_server.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/esphome/components/web_server/web_server.cpp b/esphome/components/web_server/web_server.cpp index c6204533d4..fcd83297e2 100644 --- a/esphome/components/web_server/web_server.cpp +++ b/esphome/components/web_server/web_server.cpp @@ -64,6 +64,7 @@ void WebServer::set_js_url(const char *js_url) { this->js_url_ = js_url; } void WebServer::setup() { ESP_LOGCONFIG(TAG, "Setting up web server..."); + this->setup_controller(); this->base_->init(); this->events_.onConnect([this](AsyncEventSourceClient *client) {