ESPHome  2024.10.2
ethernet_info_text_sensor.cpp
Go to the documentation of this file.
2 #include "esphome/core/log.h"
3 
4 #ifdef USE_ESP32
5 
6 namespace esphome {
7 namespace ethernet_info {
8 
9 static const char *const TAG = "ethernet_info";
10 
11 void IPAddressEthernetInfo::dump_config() { LOG_TEXT_SENSOR("", "EthernetInfo IPAddress", this); }
12 void DNSAddressEthernetInfo::dump_config() { LOG_TEXT_SENSOR("", "EthernetInfo DNS Address", this); }
13 void MACAddressEthernetInfo::dump_config() { LOG_TEXT_SENSOR("", "EthernetInfo MAC Address", this); }
14 
15 } // namespace ethernet_info
16 } // namespace esphome
17 
18 #endif // USE_ESP32
Implementation of SPI Controller mode.
Definition: a01nyub.cpp:7