2019-08-27 20:07:48 +02:00
|
|
|
#include "wifi_info_text_sensor.h"
|
|
|
|
#include "esphome/core/log.h"
|
|
|
|
|
|
|
|
namespace esphome {
|
2019-08-30 02:34:29 +02:00
|
|
|
namespace wifi_info {
|
2019-08-27 20:07:48 +02:00
|
|
|
|
2021-06-10 22:19:44 +02:00
|
|
|
static const char *const TAG = "wifi_info";
|
2019-08-27 20:07:48 +02:00
|
|
|
|
2019-08-30 02:34:29 +02:00
|
|
|
void IPAddressWiFiInfo::dump_config() { LOG_TEXT_SENSOR("", "WifiInfo IPAddress", this); }
|
2021-09-22 13:44:09 +02:00
|
|
|
void ScanResultsWiFiInfo::dump_config() { LOG_TEXT_SENSOR("", "WifiInfo Scan Results", this); }
|
2019-08-30 02:34:29 +02:00
|
|
|
void SSIDWiFiInfo::dump_config() { LOG_TEXT_SENSOR("", "WifiInfo SSID", this); }
|
|
|
|
void BSSIDWiFiInfo::dump_config() { LOG_TEXT_SENSOR("", "WifiInfo BSSID", this); }
|
2020-04-25 01:58:32 +02:00
|
|
|
void MacAddressWifiInfo::dump_config() { LOG_TEXT_SENSOR("", "WifiInfo Mac Address", this); }
|
2023-05-17 06:29:21 +02:00
|
|
|
void DNSAddressWifiInfo::dump_config() { LOG_TEXT_SENSOR("", "WifiInfo DNS Address", this); }
|
2019-08-27 20:07:48 +02:00
|
|
|
|
2019-08-30 02:34:29 +02:00
|
|
|
} // namespace wifi_info
|
2019-08-27 20:07:48 +02:00
|
|
|
} // namespace esphome
|