mirror of
https://github.com/esphome/esphome.git
synced 2024-11-27 17:27:59 +01:00
clang-tidy
This commit is contained in:
parent
8bdf87aae8
commit
3e46838a76
3 changed files with 5 additions and 4 deletions
|
@ -3,6 +3,7 @@
|
|||
#include "esphome/core/component.h"
|
||||
#include "esphome/components/text_sensor/text_sensor.h"
|
||||
#include "esphome/components/wifi/wifi_component.h"
|
||||
#ifdef USE_WIFI
|
||||
#include <array>
|
||||
|
||||
namespace esphome {
|
||||
|
@ -131,3 +132,4 @@ class MacAddressWifiInfo : public Component, public text_sensor::TextSensor {
|
|||
|
||||
} // namespace wifi_info
|
||||
} // namespace esphome
|
||||
#endif
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
#include "esphome/core/helpers.h"
|
||||
#include "esphome/components/sensor/sensor.h"
|
||||
#include "esphome/components/wifi/wifi_component.h"
|
||||
|
||||
#ifdef USE_WIFI
|
||||
namespace esphome {
|
||||
namespace wifi_signal {
|
||||
|
||||
|
@ -19,3 +19,4 @@ class WiFiSignalSensor : public sensor::Sensor, public PollingComponent {
|
|||
|
||||
} // namespace wifi_signal
|
||||
} // namespace esphome
|
||||
#endif
|
||||
|
|
|
@ -248,7 +248,7 @@ def main():
|
|||
"homeassistant",
|
||||
"http_request",
|
||||
"improv_base",
|
||||
"improv_serial", # FIXME
|
||||
"improv_serial",
|
||||
"md5", # FIXME
|
||||
"mlx90393", # FIXME
|
||||
"online_image",
|
||||
|
@ -261,8 +261,6 @@ def main():
|
|||
"wake_on_lan",
|
||||
"web_server",
|
||||
"web_server_base",
|
||||
"wifi_info",
|
||||
"wifi_signal",
|
||||
"wireguard",
|
||||
]
|
||||
build_all_include(exclude_components)
|
||||
|
|
Loading…
Reference in a new issue