1
0
mirror of https://github.com/esphome/esphome.git synced 2025-03-13 22:28:14 +00:00

Linter fix

This commit is contained in:
Nikolay Vasilchuk 2019-07-24 11:34:55 +03:00
parent 4a7325ee2b
commit d7d5faf46b

View File

@ -61,9 +61,7 @@ class WebServer : public Controller, public Component, public AsyncWebHandler {
/// Handle an index request under '/'.
void handle_index_request(AsyncWebServerRequest *request);
bool using_auth() {
return username_ != nullptr && password_ != nullptr;
}
bool using_auth() { return username_ != nullptr && password_ != nullptr; }
#ifdef USE_SENSOR
void on_sensor_update(sensor::Sensor *obj, float state) override;