ESPHome
2024.10.2
esphome
esphome
components
ethernet_info
ethernet_info_text_sensor.cpp
Go to the documentation of this file.
1
#include "
ethernet_info_text_sensor.h
"
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
esphome::ethernet_info::MACAddressEthernetInfo::dump_config
void dump_config() override
Definition:
ethernet_info_text_sensor.cpp:13
esphome::ethernet_info::DNSAddressEthernetInfo::dump_config
void dump_config() override
Definition:
ethernet_info_text_sensor.cpp:12
esphome::ethernet_info::IPAddressEthernetInfo::dump_config
void dump_config() override
Definition:
ethernet_info_text_sensor.cpp:11
esphome
Implementation of SPI Controller mode.
Definition:
a01nyub.cpp:7
log.h
ethernet_info_text_sensor.h
Generated by
1.8.13