mirror of
https://github.com/esphome/esphome.git
synced 2026-02-21 00:45:35 -07:00
preen
This commit is contained in:
@@ -2,8 +2,7 @@
|
||||
#ifdef USE_WIFI
|
||||
#include "esphome/core/log.h"
|
||||
|
||||
namespace esphome {
|
||||
namespace wifi_info {
|
||||
namespace esphome::wifi_info {
|
||||
|
||||
static const char *const TAG = "wifi_info";
|
||||
|
||||
@@ -114,6 +113,5 @@ void BSSIDWiFiInfo::state_callback_(wifi::bssid_t bssid) {
|
||||
|
||||
void MacAddressWifiInfo::dump_config() { LOG_TEXT_SENSOR("", "MAC Address", this); }
|
||||
|
||||
} // namespace wifi_info
|
||||
} // namespace esphome
|
||||
} // namespace esphome::wifi_info
|
||||
#endif
|
||||
|
||||
@@ -7,8 +7,7 @@
|
||||
#ifdef USE_WIFI
|
||||
#include <array>
|
||||
|
||||
namespace esphome {
|
||||
namespace wifi_info {
|
||||
namespace esphome::wifi_info {
|
||||
|
||||
class IPAddressWiFiInfo : public Component, public text_sensor::TextSensor {
|
||||
public:
|
||||
@@ -67,6 +66,5 @@ class MacAddressWifiInfo : public Component, public text_sensor::TextSensor {
|
||||
void dump_config() override;
|
||||
};
|
||||
|
||||
} // namespace wifi_info
|
||||
} // namespace esphome
|
||||
} // namespace esphome::wifi_info
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user