mirror of
https://github.com/esphome/esphome.git
synced 2024-11-28 01:34:18 +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/core/component.h"
|
||||||
#include "esphome/components/text_sensor/text_sensor.h"
|
#include "esphome/components/text_sensor/text_sensor.h"
|
||||||
#include "esphome/components/wifi/wifi_component.h"
|
#include "esphome/components/wifi/wifi_component.h"
|
||||||
|
#ifdef USE_WIFI
|
||||||
#include <array>
|
#include <array>
|
||||||
|
|
||||||
namespace esphome {
|
namespace esphome {
|
||||||
|
@ -131,3 +132,4 @@ class MacAddressWifiInfo : public Component, public text_sensor::TextSensor {
|
||||||
|
|
||||||
} // namespace wifi_info
|
} // namespace wifi_info
|
||||||
} // namespace esphome
|
} // namespace esphome
|
||||||
|
#endif
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
#include "esphome/core/helpers.h"
|
#include "esphome/core/helpers.h"
|
||||||
#include "esphome/components/sensor/sensor.h"
|
#include "esphome/components/sensor/sensor.h"
|
||||||
#include "esphome/components/wifi/wifi_component.h"
|
#include "esphome/components/wifi/wifi_component.h"
|
||||||
|
#ifdef USE_WIFI
|
||||||
namespace esphome {
|
namespace esphome {
|
||||||
namespace wifi_signal {
|
namespace wifi_signal {
|
||||||
|
|
||||||
|
@ -19,3 +19,4 @@ class WiFiSignalSensor : public sensor::Sensor, public PollingComponent {
|
||||||
|
|
||||||
} // namespace wifi_signal
|
} // namespace wifi_signal
|
||||||
} // namespace esphome
|
} // namespace esphome
|
||||||
|
#endif
|
||||||
|
|
|
@ -248,7 +248,7 @@ def main():
|
||||||
"homeassistant",
|
"homeassistant",
|
||||||
"http_request",
|
"http_request",
|
||||||
"improv_base",
|
"improv_base",
|
||||||
"improv_serial", # FIXME
|
"improv_serial",
|
||||||
"md5", # FIXME
|
"md5", # FIXME
|
||||||
"mlx90393", # FIXME
|
"mlx90393", # FIXME
|
||||||
"online_image",
|
"online_image",
|
||||||
|
@ -261,8 +261,6 @@ def main():
|
||||||
"wake_on_lan",
|
"wake_on_lan",
|
||||||
"web_server",
|
"web_server",
|
||||||
"web_server_base",
|
"web_server_base",
|
||||||
"wifi_info",
|
|
||||||
"wifi_signal",
|
|
||||||
"wireguard",
|
"wireguard",
|
||||||
]
|
]
|
||||||
build_all_include(exclude_components)
|
build_all_include(exclude_components)
|
||||||
|
|
Loading…
Reference in a new issue