mirror of
https://github.com/esphome/esphome.git
synced 2025-03-13 22:28:14 +00:00
Linter fix
This commit is contained in:
parent
4a7325ee2b
commit
d7d5faf46b
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user