1
0
mirror of https://github.com/esphome/esphome.git synced 2025-11-19 00:05:43 +00:00

Add ethernet DNS text sensor and simplify DNS display format (#6450)

This commit is contained in:
Jimmy Hedman
2024-04-12 06:03:08 +02:00
committed by GitHub
parent 7eb524f920
commit 76daefe21c
8 changed files with 47 additions and 9 deletions

View File

@@ -70,6 +70,7 @@ class EthernetComponent : public Component {
void set_manual_ip(const ManualIP &manual_ip);
network::IPAddresses get_ip_addresses();
network::IPAddress get_dns_address(uint8_t num);
std::string get_use_address() const;
void set_use_address(const std::string &use_address);
bool powerdown();