mirror of
https://github.com/esphome/esphome.git
synced 2025-03-15 23:28:13 +00:00
fix clang-tidy
This commit is contained in:
parent
459d7af273
commit
8d0739aa4a
@ -1,4 +1,5 @@
|
|||||||
#include "prometheus_handler.h"
|
#include "prometheus_handler.h"
|
||||||
|
#ifdef USE_NETWORK
|
||||||
#include "esphome/core/application.h"
|
#include "esphome/core/application.h"
|
||||||
|
|
||||||
namespace esphome {
|
namespace esphome {
|
||||||
@ -350,3 +351,4 @@ void PrometheusHandler::lock_row_(AsyncResponseStream *stream, lock::Lock *obj)
|
|||||||
|
|
||||||
} // namespace prometheus
|
} // namespace prometheus
|
||||||
} // namespace esphome
|
} // namespace esphome
|
||||||
|
#endif
|
||||||
|
@ -4,6 +4,7 @@
|
|||||||
#include <utility>
|
#include <utility>
|
||||||
|
|
||||||
#include "esphome/components/web_server_base/web_server_base.h"
|
#include "esphome/components/web_server_base/web_server_base.h"
|
||||||
|
#ifdef USE_NETWORK
|
||||||
#include "esphome/core/component.h"
|
#include "esphome/core/component.h"
|
||||||
#include "esphome/core/controller.h"
|
#include "esphome/core/controller.h"
|
||||||
#include "esphome/core/entity_base.h"
|
#include "esphome/core/entity_base.h"
|
||||||
@ -117,3 +118,4 @@ class PrometheusHandler : public AsyncWebHandler, public Component {
|
|||||||
|
|
||||||
} // namespace prometheus
|
} // namespace prometheus
|
||||||
} // namespace esphome
|
} // namespace esphome
|
||||||
|
#endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user